ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Event procedures: who is calling? (https://www.excelbanter.com/excel-programming/359346-event-procedures-who-calling.html)

Momo[_2_]

Event procedures: who is calling?
 
Hi Excelers,
is there any way to find out whether a worksheet event procedure , e.g.
Worksheet.Activate, is triggered by

a. a user activating the worksheet

b. a macro activating the worksheet

c. a macro calling the event procedure?


TIA

Momo


DM Unseen

Event procedures: who is calling?
 
Look into Application.Caller property

Dm Unseen


Momo[_2_]

Event procedures: who is calling?
 
DM Unseen,
I did, and it doesn't give that information.

Momo



All times are GMT +1. The time now is 01:24 PM.

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