Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]() I want to create procedure that running in open workbook or selecting sheet ? please show me how ? -- hni ------------------------------------------------------------------------ hni's Profile: http://www.excelforum.com/member.php...o&userid=28451 View this thread: http://www.excelforum.com/showthread...hreadid=480530 |
#2
![]() |
|||
|
|||
![]()
Private Sub Worksheet_Activate()
'your code 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) "hni" wrote in message ... I want to create procedure that running in open workbook or selecting sheet ? please show me how ? -- hni ------------------------------------------------------------------------ hni's Profile: http://www.excelforum.com/member.php...o&userid=28451 View this thread: http://www.excelforum.com/showthread...hreadid=480530 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Make Alignment options under format cells available as shortcut | Excel Discussion (Misc queries) | |||
I was messing arround with the VBA and now I get the macro warning when I open the work book but when... | New Users to Excel | |||
Help with macro looping and color query function | Excel Discussion (Misc queries) | |||
Date macro | Excel Discussion (Misc queries) | |||
How can I set up a Macro to automatically run when I open a speci. | Excel Discussion (Misc queries) |