Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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.
  #2   Report Post  
Posted to microsoft.public.excel.programming
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.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can you use excel 2003 version with excel 2002 and 2000 on a netw. cct Excel Discussion (Misc queries) 1 January 19th 05 12:11 AM
Macro working in Excel 2003; not working in Excel 2000 Leslie Barberie Excel Programming 5 May 20th 04 07:51 PM
Code-signing certificate problems in Excel 2000 with Windows 2000 Aaron Queenan Excel Programming 0 May 6th 04 11:35 AM
Excel 2000 code not working in XP Shane J Excel Programming 2 January 31st 04 03:40 AM
macro written in Excel 2000 not working in Excel 2002 Ivan H. Excel Programming 0 August 21st 03 11:33 PM


All times are GMT +1. The time now is 04:33 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"