Excel 2000 VBA Code not working in Excel 2002

  • Thread starter Thread starter OldGuy
  • Start date Start date
O

OldGuy

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.
 
OldGuy,
Most of the time when such built-in function do work, it is because the
references have been unchecked or corrupted.
Go to Tools>References and see if are marked "Missing". If so locate the
correct libraries and save again.

NickHK
 
Back
Top