Hi,
I have the following code in excel macros
Dim AppVisio As Visio.Application
a = InputBox("Enter the path of the Visio Document", "VisioPath")
Set AppVisio = CreateObject("Visio.Application")
AppVisio.Settings.ShowFileOpenWarnings = False
Set docObj = AppVisio.Documents
docObj.OpenEx a, visOpenMacrosDisabled
The line "Set AppVisio = CreateObject("Visio.Application")" throws runtime error Library not registered. I uincluded Microsoft visio library in references too. Pls help
Thanks,
Ramya.
Bookmarks