Deleting excel macro

  • Thread starter Thread starter Dan
  • Start date Start date
D

Dan

Hi,

I was wondering if its possible to delete an excel macro
through the vba of access. I got the objects set up and
I can run the macro all from the access' vba, but after
running the macro I wanted to delete the macro so the
user who opens the excel spread sheet won't be getting
the message about enabling macro and so fore. I tried
exap.Delete("'Book1'!Macro1"), but it didn't work.

Is this possible?

Thanks.
 

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