ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Calling Procedures from another excel sheet by passing objects (https://www.excelbanter.com/excel-programming/297330-calling-procedures-another-excel-sheet-passing-objects.html)

Thomas Auburn

Calling Procedures from another excel sheet by passing objects
 
Hi,
I like to keep all my general purpose procedures/functions in a
seperate excel sheets as series of modules to maintain them at a
single location. How can I call them from another working sheet
without importing the applicable module. The Application.run does not
allow me to pass objects per HELP.

Help screen says "Objects passed as arguments to the macro are
converted to values (by applying the Value property to the object).
This means that you cannot pass objects to macros by using the Run
method"

Thanks


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

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