delete macro

  • Thread starter Sebastian Prengel
  • Start date
S

Sebastian Prengel

Hello

Is their a way to delete all macros in a visio file with a addon? I don't
want the security box on visio startup and I don't need the macros.

Regards
Sebastian

P.S.
I can't use the VBProject Property because it's disabled on the target
machine
 
D

David Parker [Visio MVP]

SAve as XML format.
Open in Notepad, or similar
Delte the whole <VBProjectData> section including the tag.
Save, open in Visio, making sure that you do not have the Visio VBA Editor
open, and then save as vsd
 
S

Sebastian Prengel

Hello David,

Thanks for your reply - but I can't do it this way because their are 5000
files....

regards
Sebastian
 
D

David Parker [Visio MVP]

I think that you could write code to iterate thru' all files, SaveAs XML and
then programitcally remove the VBProjectData tag
 

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