How can i execute a macro at Visio launch? It's posible? Thanks a lot
W wr Oct 12, 2006 #2 Hi Roland, use the documentopened in the ThisDocument section of the project in visio's visual basic editor Private Sub Document_DocumentOpened(ByVal doc as IVDocument) 'place your code here ' or call a module with 'call Module1.MacroOnOpen End Sub René
Hi Roland, use the documentopened in the ThisDocument section of the project in visio's visual basic editor Private Sub Document_DocumentOpened(ByVal doc as IVDocument) 'place your code here ' or call a module with 'call Module1.MacroOnOpen End Sub René
M Michel LAPLANE Oct 13, 2006 #3 You can also use the Document_RunModeEntered event that occur after DocumentOpened and indicating that the document is running.
You can also use the Document_RunModeEntered event that occur after DocumentOpened and indicating that the document is running.