View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
MikeZz MikeZz is offline
external usenet poster
 
Posts: 152
Default How do I write code to "Workbook_Open" from within a VBA?

I have a macro that sets up a new workbook and adds macros to it.
To do that, I export a module and then import it into the new file.

My question is how I can use VBA in the master workbook to VBA code to the
new Workbook's "Workbook_Open" VBA?

I'm only talking about 1 line to call up a dialog box so hopefully it's not
that difficult.

Thanks
MikeZz