Detect macro's parent workbook or worksheet

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all,

I need to know from what particular workbook, worksheet and cell a given macro function is called from. The call could be made from a worksheet.calculate, a user pressing enter in the cell, or any other mean that would trigger the calculation of the formula in the cell

How can I achieve it

Thanks
C.
 
Hi
not quite sure what you're trying to do but have a look at
application.caller
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top