ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Excel VBA to execute Visio VBA (https://www.excelbanter.com/excel-programming/381833-re-excel-vba-execute-visio-vba.html)

Bob Phillips

Excel VBA to execute Visio VBA
 
With oVisio
Set oVisioDocuments = oVisio.Documents
Set oVisioDocument = oVisioDocuments.Open(FileName:="Filename")
oVisioDocument.ExecuteLine "myVisioMacro"
End With

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"Jason V" wrote in message
...
My Excel VBA program opens a visio application. From there I either want
to
run a macro in that Visio file or I want to code it in my excel program.
Any
help? Thanks.
--
Jason V





All times are GMT +1. The time now is 01:32 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com