Error when export to .dwg

Started by davidgon, June 14, 2017, 10:38:48 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

davidgon

Hello everyone!

I have document with macros, userforms... One of those macros exports the Visio document to autocad:

path = "C:\Example\Example.dwg"

Application.ActiveDocument.Pages("Page1").Export path


When I execute this code, this error appears: "Automation Error: The object invoked has disconnected from its clients".

The worst of all is that if I try to export the document using File->Export->Autocad(dwg), it fails too!!  :'(

Any idea?

Thanks!