Have a look at: Application.Caller
----- Original Message -----
From: Alexandre Takacs <[log in to unmask]>
To: <[log in to unmask]>
Sent: Tuesday, December 19, 2000 3:03 AM
Subject: Generic menu handle: possible ?
Is it possible to implement a generic menu handler in Excel (or, more
generally, in VBA ?)
I would like to call a central "dispatch" procedure from my various menus.
The problem is that I have not managed (so far ?) to identify the caller of
Assuming I have a menu with two menu items, each menu item OnAction being a
single procedure. Is there any way to find out who called?