Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Ok, I'm missing something here. I've tried copying events from posts, help
files, having VB create them but they do not work. I cannot get an event to fire. Can someone tell me how to get any event to fire? Specifically, how do you add event handling to a set of macros? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Please read:
http://cpearson.com/excel/events.htm very carefully. Of critical importance is where the macros are stored - modules, worksheet code, etc. If you put them in the wrong place, they won't work. -- Gary's Student "Scott buckwalter" wrote: Ok, I'm missing something here. I've tried copying events from posts, help files, having VB create them but they do not work. I cannot get an event to fire. Can someone tell me how to get any event to fire? Specifically, how do you add event handling to a set of macros? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Are you storing them in the correct place?
Try this simple one Private Sub Worksheet_SelectionChange(ByVal Target As Range) MsgBox "hello" End Sub 'This is worksheet event code, which means that it needs to be 'placed in the appropriate worksheet code module, not a standard 'code module. To do this, right-click on the sheet tab, select 'the View Code option from the menu, and paste the code in. -- HTH RP (remove nothere from the email address if mailing direct) "Scott buckwalter" wrote in message ... Ok, I'm missing something here. I've tried copying events from posts, help files, having VB create them but they do not work. I cannot get an event to fire. Can someone tell me how to get any event to fire? Specifically, how do you add event handling to a set of macros? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel screen capture to capture cells and row and column headings | Excel Discussion (Misc queries) | |||
Capture Excel Events from other application | Excel Programming | |||
How to capture row of a string value | Excel Programming | |||
how to capture data | Excel Programming | |||
Up Capture | Excel Programming |