Run worksheet module code from workbook module?

K

keithb

How can you run code that exists in a worksheet module from a command in the
workbook module?

Thanks,

Keith
 
V

Vasant Nanavati

For example:

Sheet1.MyMacro

However, this is generally not advisable as worksheet and workbook macros
should be related only to event procedures, as a matter of good programming
practice.
 

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