Visio Run Line commands

D

Don

I have build a VB application in Access that starts Visio, and points it to
excel file(s) that contain the parameters I wish to chart.

There are two things that I need to do:

I need Visio to open a template and use it as the master background for the
chart

I also need Visio to save the file as HTML and give it a name that I supply.

Can I do all this through the command line ?

I will need to repeat this procedure weekly for 300 charts.

Thanks

Don
 
A

Al Edlund

Your scenario calls for multiple functions which when tied together are
probably not appropriate for "command line" (since the functionality would
require custom coding in the called document for parsing of parameters and
import/export targets). A custom visio template might be more appropriate
with embedded vba.

Since you're using VB(A) to start visio you can call your template from
there.
An example is in the DVS document at
http://msdn.microsoft.com/library/e...ng_Visio_with_Visual_Basic_896.asp?frame=true

the visio sdk (available on msdn) has examples of save as web.....
There are examples of command line parsers in the visio sdk that can be
modified to read your input if you would like to use the command line for
passing the parameters.

al
 

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