Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Pardon the rather 'green' user here...I am trying to understand how
Excel finds user written VBA code. I am defining functions in Excel 97. When I open the VBE and write code, it is automatically stored in the 'Sheet1' object. When I reference the defined function (on Sheet1), I get a #NAME? error in the cells. It appears that the code is not found. When I copy the code in the 'Module1' object, the code works. Why doesn't Excel find this code in the Sheet1? Should I store all code in the Module1 object? Why didn't Excel do this automatically for me? thanks for your patience and assistance, TomCee |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
What does Excel97 not like about this Code Q | Excel Programming | |||
Excel97: Show UserForm while running code? | Excel Programming | |||
MS-Query code from EXCEL97 doesn't work in EXCEL2003 ?? | Excel Discussion (Misc queries) | |||
why doesn't excel97 winNT vba macro code work in excel2002 winXP??? | Excel Programming | |||
where is it stored-customized changes in excel97 | Excel Programming |