Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Run time error : Excel 2000 and Excel 2003 : different behavior of Macro

Hi,

Anyone has a solution for this?

I have an application using Excel Macros. I have developed it with
using Microsoft Excel 2000 under Windows 2003 server. It works fine in
my machine and all the other machines in our organization. But when it
is sent to the Client, client is getting run time error, saying Type
Mismatch in one of the parts of the application and in the other part
saying Method 'Range' of object '_Global' failed. Client end has
Office 2003 under Windows XP Professional. Basically the Type Mismatch
error is coming in a function which has the return value as String
value but used to get double values also. The other error Range
Selection failed is in a function where the range is selected based on
some condition and deleting the particular range.

Any Solutions/Suggestions?

Regards,
Bala.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 789
Default Run time error : Excel 2000 and Excel 2003 : different behavior of Macro

Hi
very difficult to give solutions or suggestions without seeing the
code.
If your function can have 2 sorts of output, make it return a variant
and see how that goes.
The range problem is impossible to diagnose without code. Range
selection is always a nuisance when you are switching between sheets as
you read and write data.

regards
Paul

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Run time error : Excel 2000 and Excel 2003 : different behavior of Macro

Hi Paul,
I got the problem solved by changing the Regional Settings. The
client was having the Regional Settings as German, whereas my
development was based on US. So it was corrected after changing the
regional setting.
Regards,
Bala

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
Strange 'protected cell' error affecting Excel 2003 but not Excel 2000? Pheasant Plucker® Excel Discussion (Misc queries) 1 April 10th 07 01:04 PM
Change in Link Behavior - Excel 2000 to 2003 David G. Hoch Links and Linking in Excel 0 April 27th 06 04:41 AM
Excel 2000 - Excel 2003 now throws 'runtime error' Ralph L Excel Programming 3 April 10th 06 05:20 AM
Macro error after switching from Excel 2000 to Excel 2003 Jake Burnham Excel Discussion (Misc queries) 1 January 10th 06 08:10 PM
Excel 2003 file opend in Excel 2000 - Compile error in hidden modu BhavdeepSachdev Excel Programming 3 November 29th 05 08:04 PM


All times are GMT +1. The time now is 07:10 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"