View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Jake Marx[_3_] Jake Marx[_3_] is offline
external usenet poster
 
Posts: 860
Default Events, Class Modules and Addins ... oh my!

Hi Robert,

Have you taken a look at Chip Pearson's tutorial on Application-level
events?

http://www.cpearson.com/excel/AppEvent.htm

--
Regards,

Jake Marx
www.longhead.com


[please keep replies in the newsgroup - email address unmonitored]

wrote:
Maybe I have bitten off more then I can chew but I would really like
to get this where I want it to go.

I have an XLA addin I created. Works great (thanks to much help from
this board).
I can now give this XLA file to anyone in my team that needs it, to
give them the functions.

But I am trying to ALSO make this addin, automatically create a
toolbar icon, linked to the function I created. This seems to have
brought me into the world of Class Modules and Events... a world I
know little about, yet.

Part of my troubles (outside of not understanding the whole process) I
believe is that most examples I have seen are linked to a specific
workbook. My process will need to be run on hundreds of workbooks,
therefore I want it to all be 'application level'. The functions all
work now on any workbook I open, but I simply cannot get even a msgbox
to pop up when I open a new or existing workbook.

Could some kind soul, give me some example code of how to do this?
Keep in mind the moment you tell me "just create a workbook open
event", you have lost me.

TIA