code to attach a macro to a newly created worksheet

C

C. Corodan

Hello,

I have a macro that copies all rows related to a Sales Representative from a
main workbook and creates a new workbook for each Sales Representative. How
do I attach a different macro to one of the sheets of the newly created
workbook?

Thanks,
 
R

ruic

Why not create a template with the macro already in it and then when the
main workgroup creates the new workbook have it create it from the template.
 

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