ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   calling VBA function within a worksheet (https://www.excelbanter.com/excel-programming/356528-calling-vba-function-within-worksheet.html)

matelot

calling VBA function within a worksheet
 
When calling a function created in a different workbook, I get the #NAME! not
defined even thought I put down the spreadsheet name.
"=anotherbook!myfunction(A1)"
Am I doing something wrong?

Thanks

Trevor Shuttleworth

calling VBA function within a worksheet
 
Is the other workbook open ?

Regards

Trevor


"matelot" wrote in message
...
When calling a function created in a different workbook, I get the #NAME!
not
defined even thought I put down the spreadsheet name.
"=anotherbook!myfunction(A1)"
Am I doing something wrong?

Thanks




matelot

calling VBA function within a worksheet
 
Yes.

"Trevor Shuttleworth" wrote:

Is the other workbook open ?

Regards

Trevor


"matelot" wrote in message
...
When calling a function created in a different workbook, I get the #NAME!
not
defined even thought I put down the spreadsheet name.
"=anotherbook!myfunction(A1)"
Am I doing something wrong?

Thanks






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

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