Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
i created a public function in a module. when i call it in excel, it
works fine. but as soon as i open any other workbook (even a new one), it returns a value error. i have to go back into that cell and hit enter for it to work again. thoughts? thanks, sg |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() In order to use function globaly to other workbook, you had to make Addin...... Follow this : - Create new Excel file - Write your code(function) - Save file as Excel Add-in (.xla file). .....now, Go to Tools -- Addins... and load the saved file. now this The function will now be globally available to all. will not work if moved to a different machine, as it a different case.......:) Gaurav Kothari " wrote: i created a public function in a module. when i call it in excel, it works fine. but as soon as i open any other workbook (even a new one), it returns a value error. i have to go back into that cell and hit enter for it to work again. thoughts? thanks, sg |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Declaring variables in Module vs. Public | Excel Discussion (Misc queries) | |||
Moving Public Function From Workbook Module to XLA | Excel Programming | |||
compiler error: public object module | Excel Programming | |||
How to add a public subroutine to a class module | Excel Programming | |||
Passing Public Module Vairable to a Worksheet Event | Excel Programming |