Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Excel 2000 v 2003 Macro & VBA Incompatibities
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 locked/protected cells and sheets; when an error ocurrs Excel prompts for the password. Can you suggest a better work-around then to have Excel auto-prompt for the password. (Everyone wants to unlock and unhide data to get around the errors.) Is there a resource on commands/parameters available in differing versions of Excel? Thank You for your time. -- John |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Excel 2000 v 2003 Macro & VBA Incompatibities
Backward compatibility cannot be guaranteed, forward is more
straight-forward. -- HTH RP (remove nothere from the email address if mailing direct) "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 locked/protected cells and sheets; when an error ocurrs Excel prompts for the password. Can you suggest a better work-around then to have Excel auto-prompt for the password. (Everyone wants to unlock and unhide data to get around the errors.) 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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel 2000 macro not working in Excel 2003 | Excel Discussion (Misc queries) | |||
Office 2000 Excel Macro runs very slow in 2003, why? | Excel Discussion (Misc queries) | |||
Macro error after switching from Excel 2000 to Excel 2003 | Excel Discussion (Misc queries) | |||
Macro Excel 2000 do not work in Excel 2003 | Excel Programming | |||
Macro written in Excel 2003 and saved as Excel 2000 .xls | Excel Programming |