View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
C. Corodan C. Corodan is offline
external usenet poster
 
Posts: 9
Default code to attach a macro to a newly created worksheet

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,