ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Call Function in Different Spreadsheet (https://www.excelbanter.com/excel-programming/294946-call-function-different-spreadsheet.html)

Harold[_3_]

Call Function in Different Spreadsheet
 
I have a 2 spreadsheets (A and B). Both are open, I want
to call a function I created in B from Spreadsheet A. Is
this possible in Excel?

Bernie Deitrick

Call Function in Different Spreadsheet
 
Harold,

Set a reference to Spreadsheet B (through the VBE - Tools, References, then
find the project) and then you'll be able to simply use the functions as if
they were in Spreadsheet A.

HTH,
Bernie
MS Excel MVP

"Harold" wrote in message
...
I have a 2 spreadsheets (A and B). Both are open, I want
to call a function I created in B from Spreadsheet A. Is
this possible in Excel?





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

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