Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Excel 2000 and 2003 VBA and Macros Incompatibility

Already read many posts on object models, early & late binding. One
suggestion put forth for overcoming the incompatibilities of object models is
to program in an earlier version; it should port forward. This has not been
my (limited) experience. I had to build a macro/VBA combination that worked
in Excel 2002 to overcome errors from opening and running the macros/VBA
built in Excel 2000. Once this was done it is now not backward compatible.

I have tried inspecting the Excel version number and executing different
code but this also fails. The commands that fail are setting border
thickness, colors, cell shading and cell protection. Can you point out
additional resources on 'binding'; is this required with an Excel macro/VBA
solution? (It is not a compiled app.)

There are many hidden sheets and locked cells in my solution. Excel
auto-prompts for the password when an error occurs. Is there a better method
of pgm to avoid the auto password request?

Is there a resource on commands/parameters available in differing versions
of Excel?

Thank You for your time.
--
John

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,718
Default Excel 2000 and 2003 VBA and Macros Incompatibility

Binding is only an issue with automation. It doesn't sound like you're
using automation but if you are tell us what app you're automating Excel
from.

Pick out a snippet of code that you find fails in Excel 2003 but runs in
2000. Copy it into its only little sub in a new workbook and run that sub
in both versions. If you find that it still fails in 2003 and runs in 2000
post it here so we can figure out why. If it does run you have to figure
out what is different in the problem workbook. We can help maybe but it's
hard without the workbook/code.

--
Jim Rech
Excel MVP
"Wboson" wrote in message
...
Already read many posts on object models, early & late binding. One
suggestion put forth for overcoming the incompatibilities of object models
is
to program in an earlier version; it should port forward. This has not
been
my (limited) experience. I had to build a macro/VBA combination that
worked
in Excel 2002 to overcome errors from opening and running the macros/VBA
built in Excel 2000. Once this was done it is now not backward compatible.

I have tried inspecting the Excel version number and executing different
code but this also fails. The commands that fail are setting border
thickness, colors, cell shading and cell protection. Can you point out
additional resources on 'binding'; is this required with an Excel
macro/VBA
solution? (It is not a compiled app.)

There are many hidden sheets and locked cells in my solution. Excel
auto-prompts for the password when an error occurs. Is there a better
method
of pgm to avoid the auto password request?

Is there a resource on commands/parameters available in differing versions
of Excel?

Thank You for your time.
--
John



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
Windows Vista and Excel 2000 -- incompatibility? Lindsay Graham Excel Discussion (Misc queries) 10 August 3rd 08 03:59 PM
Anyone have troubles running 2003 macros in 2000 version of Excel Jim Excel Discussion (Misc queries) 0 April 19th 06 02:15 PM
where did my old 2000 Excel macros go when I upgraded to 2003? dcampbe1 Excel Discussion (Misc queries) 2 April 4th 06 10:16 PM
Excel 2000 v 2003 Macro & VBA Incompatibility Wboson Excel Programming 0 March 25th 05 09:13 PM
Incompatibility between Excel97 and Excel95 macros buczacz Excel Programming 2 December 29th 03 05:53 PM


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