Link to home
Start Free TrialLog in
Avatar of bsharath
bsharathFlag for India

asked on

Visio Macro that can Save as the visio sheets into html.

Hi,

Visio Macro that can Save as the visio sheets into html.
This is the continuation of Scott's macro that needs to save all all the rows converted to charts and saved as Html.

Need the file names as NTlogin's and saved as html. All files into 1 folder.

Regards
Sharath
Avatar of marklorenz
marklorenz
Flag of United States of America image

Check this out:

automate exporting a Visio drawing as an HTML document set
http://support.microsoft.com/kb/258489



ASKER CERTIFIED SOLUTION
Avatar of Scott Helmers
Scott Helmers
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Mark,

Thanks for the suggestion. The KB article you linked to applies to Visio 2000 -- and fortunately, there is much better and easier-to-use support for creating html pages in Visio 2003 and 2007.

You can see the code I used in the file posted above if you're interested. Otherwise, the Visio 2007 SDK has a couple of good examples (in fact, my code is adapted directly from the SDK examples).

Scott
Avatar of bsharath

ASKER

Thank U Scott checking now.
One question in the visio can i do any alignment. Is that allowed? Will that changes reflect in the html pages?
Any changes you make on the background page called "Template" will appear on all Visio pages.
Thanks Scott - I'll check it out
One other suggestion -- you might want to save the Visio document as a .vst (Visio template) instead of as a .vsd. That way, each time you open it, it will create a new document into which to insert the pages, leaving the .vst "clean" for the next time.
Thank U Scott for this help... :-)))
Works perfect...