Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
dim dim is offline
external usenet poster
 
Posts: 123
Default Could this issue be specific to Excel 2003 ???

Hi all, I'd appreciate some advice here. I'm in a bit of a hole!

My program is written in Excel 2002. I'm after being contacted by someone
running Excel 2003, and getting a "Runtime error 9 - Subscript out of range".

I know under normal circumstances what this error means, how to locate it,
and how to fix it. So no problem there. However, I've tested my program over
and over in Excel 2002, and haven't been able to reproduce the problem in the
specific area that he's receiving it (Without doing something blatently
obvious like changing a sheet name that can't have happened to his version).
Anyway, I'm waiting for him to send me his specific files for me to check in
order to investigate further. No-one else has reported this or any problems,
so at this point I'm guessing that its isolated.....which leads me to this
post....

In a previous version of the same program, the only issue I received was
from someone running Excel 2003, and now with my updated program, this issue
is while running Excel 2003.....am I seeing the start of a pattern or just
coincidence?
Is there a history of problems with Excel 2003?
Is Excel 2003 a less reliable build than other Excel versions?
Was there some sort of VBA change between 2002 and 2003 that I'm unaware of?

........any ideas about this in general? I'm not asking for error specific
info since I know you can't help without more information which I can't give
right now.

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Could this issue be specific to Excel 2003 ???

The only problems I have ever encountered were with Object Library references
and those were easy enough to fix. I am not aware of any inherent problems
related to Subscript Out of Range between xl2000 and xl2003. That was a
fairly seamless transition as far as I know.

"dim" wrote:

Hi all, I'd appreciate some advice here. I'm in a bit of a hole!

My program is written in Excel 2002. I'm after being contacted by someone
running Excel 2003, and getting a "Runtime error 9 - Subscript out of range".

I know under normal circumstances what this error means, how to locate it,
and how to fix it. So no problem there. However, I've tested my program over
and over in Excel 2002, and haven't been able to reproduce the problem in the
specific area that he's receiving it (Without doing something blatently
obvious like changing a sheet name that can't have happened to his version).
Anyway, I'm waiting for him to send me his specific files for me to check in
order to investigate further. No-one else has reported this or any problems,
so at this point I'm guessing that its isolated.....which leads me to this
post....

In a previous version of the same program, the only issue I received was
from someone running Excel 2003, and now with my updated program, this issue
is while running Excel 2003.....am I seeing the start of a pattern or just
coincidence?
Is there a history of problems with Excel 2003?
Is Excel 2003 a less reliable build than other Excel versions?
Was there some sort of VBA change between 2002 and 2003 that I'm unaware of?

.......any ideas about this in general? I'm not asking for error specific
info since I know you can't help without more information which I can't give
right now.

Thanks.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 137
Default Could this issue be specific to Excel 2003 ???

The short answer is yes - The versions from one to another do vary. I
have a sort routine which is not backwards compatible from 2003 to
2000 for instance.

Even the the same excel family (Excel 2003) has different builds
(service packs) which can vary the behaviour.



dim wrote:
Hi all, I'd appreciate some advice here. I'm in a bit of a hole!

My program is written in Excel 2002. I'm after being contacted by someone
running Excel 2003, and getting a "Runtime error 9 - Subscript out of range".

I know under normal circumstances what this error means, how to locate it,
and how to fix it. So no problem there. However, I've tested my program over
and over in Excel 2002, and haven't been able to reproduce the problem in the
specific area that he's receiving it (Without doing something blatently
obvious like changing a sheet name that can't have happened to his version).
Anyway, I'm waiting for him to send me his specific files for me to check in
order to investigate further. No-one else has reported this or any problems,
so at this point I'm guessing that its isolated.....which leads me to this
post....

In a previous version of the same program, the only issue I received was
from someone running Excel 2003, and now with my updated program, this issue
is while running Excel 2003.....am I seeing the start of a pattern or just
coincidence?
Is there a history of problems with Excel 2003?
Is Excel 2003 a less reliable build than other Excel versions?
Was there some sort of VBA change between 2002 and 2003 that I'm unaware of?

.......any ideas about this in general? I'm not asking for error specific
info since I know you can't help without more information which I can't give
right now.

Thanks.

  #4   Report Post  
Posted to microsoft.public.excel.programming
dim dim is offline
external usenet poster
 
Posts: 123
Default Could this issue be specific to Excel 2003 ???

Thanks folks......two different replies, two different answers! :-) lol

So is there information anywhere on what differences need to be accounted
for when writing VBA in 2002 for different versions?

Cheers.
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,718
Default Could this issue be specific to Excel 2003 ???

Is there a history of problems with Excel 2003?
Is Excel 2003 a less reliable build than other Excel versions?


No disrespect intended but don't rule out the possibility there is a problem
with the code that only obscure circumstances bring out.

--
Jim
"dim" wrote in message
...
| Thanks folks......two different replies, two different answers! :-) lol
|
| So is there information anywhere on what differences need to be accounted
| for when writing VBA in 2002 for different versions?
|
| Cheers.




  #6   Report Post  
Posted to microsoft.public.excel.programming
dim dim is offline
external usenet poster
 
Posts: 123
Default Could this issue be specific to Excel 2003 ???

"Jim Rech" wrote:
No disrespect intended but don't rule out the possibility there is a problem
with the code that only obscure circumstances bring out.


None taken. If I could fine an error it would make everything much
easier....I could just fix it!

I haven't used that Range.sort method so I don't think it'd be
related.....thats if I'm understanding you right....

Thanks folks. I guess without being able to replicate the error I just have
to let it go and keep an eye out for it in future.

Thanks again.
  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Could this issue be specific to Excel 2003 ???

Just a note...

xl2002 (IIRC) added a DataOption# parm to the range.sort method. If you want
the code to work in xl2k (and you don't care about that parm), you can delete it
from the code.

Greg Glynn wrote:

The short answer is yes - The versions from one to another do vary. I
have a sort routine which is not backwards compatible from 2003 to
2000 for instance.

Even the the same excel family (Excel 2003) has different builds
(service packs) which can vary the behaviour.

dim wrote:
Hi all, I'd appreciate some advice here. I'm in a bit of a hole!

My program is written in Excel 2002. I'm after being contacted by someone
running Excel 2003, and getting a "Runtime error 9 - Subscript out of range".

I know under normal circumstances what this error means, how to locate it,
and how to fix it. So no problem there. However, I've tested my program over
and over in Excel 2002, and haven't been able to reproduce the problem in the
specific area that he's receiving it (Without doing something blatently
obvious like changing a sheet name that can't have happened to his version).
Anyway, I'm waiting for him to send me his specific files for me to check in
order to investigate further. No-one else has reported this or any problems,
so at this point I'm guessing that its isolated.....which leads me to this
post....

In a previous version of the same program, the only issue I received was
from someone running Excel 2003, and now with my updated program, this issue
is while running Excel 2003.....am I seeing the start of a pattern or just
coincidence?
Is there a history of problems with Excel 2003?
Is Excel 2003 a less reliable build than other Excel versions?
Was there some sort of VBA change between 2002 and 2003 that I'm unaware of?

.......any ideas about this in general? I'm not asking for error specific
info since I know you can't help without more information which I can't give
right now.

Thanks.


--

Dave Peterson
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 2003 macro issue Neil Holden Excel Discussion (Misc queries) 8 March 18th 10 10:58 AM
Chart Issue - Excel 2003 Chris Stammers Charts and Charting in Excel 2 March 3rd 10 11:18 AM
excel 2003 issue jgb1270 Excel Worksheet Functions 0 March 18th 09 03:34 PM
Issue with Excel 2003 Good Intentions New Users to Excel 3 April 10th 06 07:36 PM
excel 2003 issue yazh Excel Discussion (Misc queries) 1 September 2nd 05 07:10 PM


All times are GMT +1. The time now is 02:15 AM.

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

About Us

"It's about Microsoft Excel"