Remove all macros problem

M

Mike Beebe

I wrote a macro in Modules > Module1 then exported it to a file (.bas),
Removed Module1 from the VSD file then saved. Now when I open the VSD file,
security warns me there are macros in the file. The only object in the VBE
IDE is ThisDocument and it is empty. Why is security stating there are
marcos when there no longer is and how can I remove all macros so the
propmpting stops?
 
D

David J Parker [MVP Visio]

Save as vdx
Open in text editor
Remove VBEProject tags
Save
Open in Visio
Save as vsd
 
J

John... Visio MVP

Mike Beebe said:
I wrote a macro in Modules > Module1 then exported it to a file (.bas),
Removed Module1 from the VSD file then saved. Now when I open the VSD
file,
security warns me there are macros in the file. The only object in the
VBE
IDE is ThisDocument and it is empty. Why is security stating there are
marcos when there no longer is and how can I remove all macros so the
propmpting stops?


When you delete all the modules, there is still a seed of a VBE project. The
only way to remove it is to save as XML, and prefrom the surgery David
Parker mentions.

John... Visio MVP
 
J

John... Visio MVP

David J Parker said:
Save as vdx
Open in text editor
Remove VBEProject tags
Save
Open in Visio
Save as vsd

I wonder if this will be fixed in the next release?

John... Visio MVP
 
M

Mike Beebe

Thank you John.

John... Visio MVP said:
When you delete all the modules, there is still a seed of a VBE project. The
only way to remove it is to save as XML, and prefrom the surgery David
Parker mentions.

John... Visio MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top