ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How can I call a macro or form. in the moment that enable any shee (https://www.excelbanter.com/excel-worksheet-functions/55674-how-can-i-call-macro-form-moment-enable-any-shee.html)

Victor

How can I call a macro or form. in the moment that enable any shee
 

Thanks for the atention.

Bob Phillips

How can I call a macro or form. in the moment that enable any shee
 
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)


"Victor" wrote in message
...

Thanks for the atention.





All times are GMT +1. The time now is 11:56 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com