VBA Worsheet.OnActivate

Posted by Rashmi Pandit on Stack Overflow See other posts from Stack Overflow or by Rashmi Pandit
Published on 2010-03-25T16:45:53Z Indexed on 2010/03/29 10:23 UTC
Read the original article Hit count: 416

Filed under:

Hi,

I have a method in my VBA code that needs to be assigned to a workbook How can I assign this method to the worksheet.OnActivate event using VBA code?

I tried: sht.Onactivate = "Sheet_Activate"

But this doesn't work and I need something on these lines.

Thanks.

© Stack Overflow or respective owner

Related posts about vba