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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to link to a visio event in Access

Status
Not open for further replies.

Twixman23

Technical User
Jun 1, 2004
10
US
I am currently using the database drawing monitor to connect my drawing to an Access database, but is there a way I can call the "Refresh" event in the database monitor from an Access form button? I would prefer not to use the database monitor and just have a button in access that will refresh the drawing, updating any changes etc. There are some topics in this forum that touch on this subject, but I need to find more information. I have written some basic macros already using some tutorials. I don't want to write a new macro to refresh all the data if there is an easier way.

Any help is appreciated!
Twixman
 
I want to add something to my last post. Is there a way to access the RefreshData in the BuildingPlan Add-ons using something like the menuset or the BuiltInMenus and ItemAtID? I want to know if I can tell Visio in VBA to run the RefreshData add-on. I found how to automatically create an HTML file from the Visio document so now I need to do this with the RefreshData add-on in VBA...is this possible?

Thanks
Twixman
 
I figured this out by using the code:

Application.Addons("Refresh Data").Run ""

So I am happy now! I am sure I will have more questions in the future as I learn Visio.

Twixman
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top