View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default Add code to Private Sub ComboBox1_Change() with a macro from a different workbook

"Creating An Event Procedure"

tells how to do what you want. The example is for the thisworkbook module,
but just changing thisworkbook to sheet1 for example, should get the job
done. Adjust to refer to the other workbook as well.

--
Regards,
Tom Ogilvy

"help_wanted " wrote in message
...
Tom,
Thanks for the response but this link only shows how to add code to
or create a new module. I need to add code only to a sheet in the
separate woorkbook. Specifically to add if /then statements to

Private Sub ComboBox1_Change()

in a sheet in the separate workbook

Thanks again.


---
Message posted from http://www.ExcelForum.com/