View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Héctor Miguel Héctor Miguel is offline
external usenet poster
 
Posts: 434
Default Determine if particular procedure(s) exist in module

hi, !

Using Office 2007 on Win XP;
Can someone please post an example function that determines if a particular Procedure exists in the "ThisWorkbook" module or not?
Specifically, Workbook_Activate and/or Workbook_Deactivate...


you could start looking at:

Programming The VBA Editor: http://www.cpearson.com/Excel/vbe.aspx
seek in last quarter of page for: "Searching For Text In A Module"

hth,
hector.