Visio2003: Read & Modify HTML convertion file name

S

Sven Weindel

Hi @all,

my problem is that I want set a 'dynamic' target path (not a static absolute
path for every visio file) for this command in my macro:

objWebPageSettings.TargetPath = "\\xxx\yyy\zzz.htm"

I think one choice is

1. To find out the 'real' current visio file name (zzz.vsd) in the visio
file and set it to an variable
2. Then set this file to a variable ($targetpath) with the 'htm
extension' (zzz.htm)
3. Finally set this variable to the 'target path field'
(objWebPageSettings.TargetPath = "$targetpath")


Has anybody the same problem or can help me to find out the suitable
commands?


Thanks in advance & regards,
Sven
 
J

junethesecond

How do you like to integrate a set of VBA method, DriveExists, FolderExists
and FileExists?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top