Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 102
Default error when running an excel 2004 macro in excel 2000

Hi All
An excel spreadsheet containing macros was been created in excel 2004 for
Mac and runs fine in XP and Vista.

Some of the user are using Excel 2000 and when they tried to use the
spreadsheet macro they got a run-time error as follows:

Run-time error '1004':
PasteSpecial method of Range class failed

I need to be able to run the macro across all versions of excel (2000, XP,
Vista, 2004 for Mac) without having different versions of the spreadsheet.

Is excel 2004 VBA compatible in excel 2000?
Is there an easy fix that will work across all versions?

--
Thank for your help
BeSmart
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 735
Default error when running an excel 2004 macro in excel 2000

Newer versions of Excel and associated VBA are not backward compatible, some
may work but you certainly cannot guarantee everything will work.

The best approach is to develop or convert the code using the oldest
version. You then have the best chance of it being compatible.

--

Regards,
Nigel




"BeSmart" wrote in message
...
Hi All
An excel spreadsheet containing macros was been created in excel 2004 for
Mac and runs fine in XP and Vista.

Some of the user are using Excel 2000 and when they tried to use the
spreadsheet macro they got a run-time error as follows:

Run-time error '1004':
PasteSpecial method of Range class failed

I need to be able to run the macro across all versions of excel (2000, XP,
Vista, 2004 for Mac) without having different versions of the spreadsheet.

Is excel 2004 VBA compatible in excel 2000?
Is there an easy fix that will work across all versions?

--
Thank for your help
BeSmart


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,355
Default error when running an excel 2004 macro in excel 2000

But not always! ;)

"Nigel" wrote:

Newer versions of Excel and associated VBA are not backward compatible, some
may work but you certainly cannot guarantee everything will work.

The best approach is to develop or convert the code using the oldest
version. You then have the best chance of it being compatible.

--

Regards,
Nigel




"BeSmart" wrote in message
...
Hi All
An excel spreadsheet containing macros was been created in excel 2004 for
Mac and runs fine in XP and Vista.

Some of the user are using Excel 2000 and when they tried to use the
spreadsheet macro they got a run-time error as follows:

Run-time error '1004':
PasteSpecial method of Range class failed

I need to be able to run the macro across all versions of excel (2000, XP,
Vista, 2004 for Mac) without having different versions of the spreadsheet.

Is excel 2004 VBA compatible in excel 2000?
Is there an easy fix that will work across all versions?

--
Thank for your help
BeSmart



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
Excel 97 not running macro that runs fine in 2000 Rich J[_2_] Excel Programming 2 August 22nd 06 07:47 PM
Error in Excel 97 when running Excel 2000 macro ExcelMonkey[_165_] Excel Programming 0 September 22nd 04 05:02 PM
Error in Excel 97 when running Excel 2000 macro ExcelMonkey[_164_] Excel Programming 1 September 22nd 04 04:07 PM
Error in Excel 97 when running Excel 2000 macro ExcelMonkey[_163_] Excel Programming 1 September 22nd 04 03:33 PM
Error in Excel 97 when running Excel 2000 macro ExcelMonkey[_162_] Excel Programming 1 September 22nd 04 02:53 PM


All times are GMT +1. The time now is 04:43 AM.

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"