Which workbook a UDF is called from ...

Add-in Express™ Support Service
That's what is more important than anything else

Which workbook a UDF is called from ...
 
Dragon Fly




Posts: 76
Joined: 2011-07-27
Hi,

According to the "Determining What Cell / Worksheet / Workbook Your UDF Is Called From" section in the Developer's Guide (adxnet.pdf), there is a way to determine which workbook a UDF is called from. It's unclear to me exactly how that's done. Could you please provide some sample code for an XLL add-in? Thank you.
Posted 01 May, 2012 11:48:53 Top
Andrei Smolin


Add-in Express team


Posts: 18829
Joined: 2006-05-11
Hi,

I'll look at the text tomorrow, thank you for pointing. Please check http://www.add-in-express.com/creating-addins-blog/2011/10/07/thread-safe-xll-caller-address/.


Andrei Smolin
Add-in Express Team Leader
Posted 01 May, 2012 13:26:25 Top
Dragon Fly




Posts: 76
Joined: 2011-07-27
That worked, thank you.
Posted 01 May, 2012 14:01:47 Top
Andrei Smolin


Add-in Express team


Posts: 18829
Joined: 2006-05-11
Thank you. Glad to be of some help.


Andrei Smolin
Add-in Express Team Leader
Posted 02 May, 2012 01:54:39 Top