Programmatically delete macro using a protected project

  • Thread starter Thread starter John Cole, Jr.
  • Start date Start date
J

John Cole, Jr.

Can anyone give some help. I have created several projects that
perform similar functions using a .xla file. I have written a macro
that deletes all data from one file when I'm ready to start a new job.
One of the things I need it to do is delete a macro. I am writing
the macro in my add-in, but I want it to delete a macro named
"performParse" from the module 'parse' in the active workbook.

The active workbook isn't protected, but the code in the add-in is
protected.
 

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

Back
Top