Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Detect macro's parent workbook or worksheet

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.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Detect macro's parent workbook or worksheet

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

--
Regards
Frank Kabel
Frankfurt, Germany


Conceptor wrote:
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.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating child worksheet from parent Vibeke Excel Worksheet Functions 7 July 9th 09 04:34 AM
How to run Multiple Macro's in Worksheet? Ben Dummar Excel Discussion (Misc queries) 6 May 25th 06 05:16 AM
Hide Macro's in Toolbar / Macro's list sparx Excel Discussion (Misc queries) 2 May 6th 06 08:53 PM
Detect workbook events from .XLA Conceptor[_2_] Excel Programming 2 October 27th 03 07:05 PM
Detect more info when workbook does not ack right. Tom Ogilvy Excel Programming 0 July 11th 03 02:34 PM


All times are GMT +1. The time now is 04:02 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"