Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 6th, 2005, 03:22 PM
Registered User
Join Date: Jan 2005
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Excel 2000 vs Excel 2002 Macro Issue

I have Excel 2002 installed on my dev box. I update and make changes to an Excel macro and place the update out on a share. When I go to the share to run the macro....I get no errors.

My customer has Excel 2000 on her box. When she goes to the share and runs the macro, she gets the following error:

Run-time error '1004': Application-defined or object-defined error.

Can anyone tell me why? If my customer upgrades to Excel 2002, will this fix her problem?

Reply With Quote
  #2 (permalink)  
Old July 14th, 2005, 09:09 AM
Authorized User
Join Date: Aug 2004
Location: , , .
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts

No one can answer this because you have not shown the code or line it crashes on.

The proper method of writing code likely to be used in various Excel versions is to use the oldest.

MS is continually adapting existing existing functions and methods - usualy by putting additional arguments that the older version cannot understand. You may find that examination of the code on the crashed line just needs one of the arguments removed.

Regards BrianB
Most problems occur from starting at the wrong place.
Use a cup of coffee to make Windows run faster.
It is easy until you know how.
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in opening excel file in MS Excel 2000 kallol Visual C++ 0 November 16th, 2007 05:48 AM
Excel Macro works in 2000 but not 2003 BUCKLSU Excel VBA 1 June 5th, 2007 01:40 PM
Excel 2002 Sp1 & Excel Sp2 anup.bihani Excel VBA 0 November 23rd, 2006 04:48 AM
AppActivate in a VB macro - Excel 2002 andycub Excel VBA 0 April 7th, 2004 10:34 AM
Excel in win 2000 to excel winxp (excel 2002) Max Excel VBA 3 August 28th, 2003 04:44 AM

All times are GMT -4. The time now is 02:27 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.