Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
When I write a function into any of the Excell objects in
VBA as follows: Function Bird() End Function then type =Bird() into the spread sheet, it does not see the function. When I debug the function, I get the following error message: Object library invalid or contains references to object definitions that could not be found. What is going on here? Isn't a function supposed to work in the spreadsheet? -cnb |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
'any of the excel objects' is crucial here...
these are 'object modules' and work differently from normal code modules insert a standard module. type or copy your code there et voila! keepITcool < email : keepitcool chello nl (with @ and .) < homepage: http://members.chello.nl/keepitcool "Christopher Brooks" wrote: When I write a function into any of the Excell objects in VBA as follows: Function Bird() End Function then type =Bird() into the spread sheet, it does not see the function. When I debug the function, I get the following error message: Object library invalid or contains references to object definitions that could not be found. What is going on here? Isn't a function supposed to work in the spreadsheet? -cnb |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() -----Original Message----- 'any of the excel objects' is crucial here... these are 'object modules' and work differently from normal code modules insert a standard module. type or copy your code there et voila! et voila, indeed! Thank you very much. I have the feeling that I may be returning to this forum. -cnb |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Christopher
you have probably inserted this piece of code in a workbook or worksheet module instead of a standard module -- Regards Frank Kabel Frankfurt, Germany Christopher Brooks wrote: When I write a function into any of the Excell objects in VBA as follows: Function Bird() End Function then type =Bird() into the spread sheet, it does not see the function. When I debug the function, I get the following error message: Object library invalid or contains references to object definitions that could not be found. What is going on here? Isn't a function supposed to work in the spreadsheet? -cnb |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
copy of excel file not showing formulal/function in the function b | Excel Discussion (Misc queries) | |||
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) | Excel Worksheet Functions | |||
Offset function with nested match function not finding host ss. | Excel Worksheet Functions | |||
Adding a custom function to the default excel function list | Excel Programming | |||
User-Defined Function pre-empting Built-in Function? How to undo???? | Excel Programming |