Running an AddOn using VBA

L

Leland

I would like to run the "DataBase Update" AddOn using VBA but can't seem to
come up with the correct syntax. I'm trying:

object.AddOn.Run ("DataBase Update")

where object is the shape object I want to update but it's not working. Any
help would be appreciated.

Dave
 
L

Leland

Okay, I figured out the syntax. It's:

Dim Addon as Visio.Addon
Set Addon = Visio.Addons("DataBase Update")
Addon.Run ("/parameter here")

Next question - what are the available parameters that can be passed to the
Database Update addon? Is there one that will automatically answer "Yes" to
the dialog that pops up with every shape that is updated? Or is there a
better way?

Thanks,
Dave
 

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