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