View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
NickHK NickHK is offline
external usenet poster
 
Posts: 4,391
Default 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.