Add event code through a macro

H

Hans Bergman

My VBA code creates new sheets. I want my VBA code to add
event code for the newly created sheet. Any idea how?

I am really surprised that I could not find the answer to
this question: I did find out how my VBA code could add
controls to sheet, so I expect that it should also be
possible to have you macro add the event code for these
controls.

Thanks for any suggestions

Hans Bergman
Ottawa, Canada
 

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