How to save to VML format in VBA

  • Thread starter Larry Rothstein
  • Start date
L

Larry Rothstein

I am writing an application to perform a number of
tasks. The final task would be to save all pages of a
Visio Drawing in VML format. To do this Manually, I
would just choose File | SaveAs, then select VML in the
File Type pull down.

How can I do this in VBA?
 
A

Andy [MS]

Which version of Visio are you using? IIRC, Visio 2000 allowed you to save
directly to VML, but that functionality has been deprecated in 2002 & 2003.

This should do it (assuming you're using 2000):
ActivePage.Export("<path>\<filename>.vml")
 

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