Automating Excel to remove VB Code.

S

Steve Ramsden

Hi,

I have an Excel worksheet which is automated via MS Access. The Excel sheet
contains some code of its own which is invoked by Access. What I want to be
able to do is 'tidy up' the Excel sheet when all the code has finished
execution , so that all the code is removed. Can I do this via automation?
I cannot find the correct syntax to do this, though I suspect it may have
something to do with the 'VBProject' class.

Any ideas?
TIA
Steve.
 

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