How do I remove all macros from a Visio document?

C

Carl

How do I delete all macros (they were made for test only - and are not used
any more in my document) - so that I don't have to answer the security
notice about enable/diasble macros?
 
C

Carl

OK - that sounds kind of complicated....

I had hoped to find something like in Access where you can "uncheck" a "has
module" property - doing that removes all code.

I guess I'll just copy my shapes to a blank document. Can I copy an entire
page?

Carl
 
B

Bill Morein [MSFT]

You can also do the following:

1. Select the Tools>Macros...>Macros... menu item.
2. Click on the "Edit" button (this should open up the VBA editor).
3. In the Project treeview, open up the Modules branch.
4. Right click on the available modules (I think the default is "Module1")
and select the "Remove..." option.
5. It will prompt you to export the module. You can select No here if you
don't care about the macros.
6. Close the VBA editor and save the diagram. You should not get the
security prompt any more.
 
S

salsbst

There were no modules to delete in VBA editor, so that method didn'
work, but the VDX method worked perfectly (and wasn't too painful :) )


-
salsbs
 

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