ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Call recorded macro from VBA code (https://www.excelbanter.com/excel-programming/339099-call-recorded-macro-vba-code.html)

[email protected]

Call recorded macro from VBA code
 
I would like to call a recorded macro on Worksheet_activate(). How do
I invoke it?

Thanks!


Bob Phillips[_6_]

Call recorded macro from VBA code
 
Private Sub Worksheet_Activate()
myMacro
End Sub


--

HTH

RP
(remove nothere from the email address if mailing direct)


wrote in message
oups.com...
I would like to call a recorded macro on Worksheet_activate(). How do
I invoke it?

Thanks!





All times are GMT +1. The time now is 12:25 AM.

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