![]() |
Excel 2000 VBA Code not working in Excel 2002
Underlying VBA code will not compile due to Excel 2002's
failure to recognize a function/variable. This error occurs for any variables not explicitly declared at the beginning of a Sub/Function and for built in functions such as Str, Chr, and Format. This occurs even though Excel 2002 is configured to not require explicit typing of variables. The original workbook was created on a system running XP Pro 2002 SP-1 and Office 2000, 9.0.3821, SP-1 and runs fine on that machine. This issue occurs when the offending workbook is opened in Office 2002 SP-2 on a system running XP Pro. 2002 SP-1. Any advice/help is much appreciated. |
Excel 2000 VBA Code not working in Excel 2002
OldGuy,
Most of the time when such built-in function do work, it is because the references have been unchecked or corrupted. Go to ToolsReferences and see if are marked "Missing". If so locate the correct libraries and save again. NickHK "OldGuy" wrote in message ... Underlying VBA code will not compile due to Excel 2002's failure to recognize a function/variable. This error occurs for any variables not explicitly declared at the beginning of a Sub/Function and for built in functions such as Str, Chr, and Format. This occurs even though Excel 2002 is configured to not require explicit typing of variables. The original workbook was created on a system running XP Pro 2002 SP-1 and Office 2000, 9.0.3821, SP-1 and runs fine on that machine. This issue occurs when the offending workbook is opened in Office 2002 SP-2 on a system running XP Pro. 2002 SP-1. Any advice/help is much appreciated. |
All times are GMT +1. The time now is 04:40 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com