Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Save As Type

Status
Not open for further replies.

bkdesler

Programmer
Oct 9, 2003
3
US
When you save a Visio file you can save it as a certain type...i.e. drawing, stencil, template, XML drawing, XML template, etc. How do I set this parameter programatically ? When I save, it always defaults to drawing, but I need to save as XML drawing. The Save, SaveAs, and SaveAsEx methods don't give me an option to set this. Thanks in advance.
 
Yes they do :) I have written such a macro myself...
->ActiveDocument.SaveAsEx filename,adPersistXML
will save your document as VDX (UTF-8 XML format)

Cheers,
MakeItSo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top