![]() |
Urgent!!! -- Reference libraries
Hello,
I have developed a set of code in Excel 2002 to manipulate some excel raw data into a report structured spreadsheet. This excel uses the excel reference library v. 10.0. However, when I tried to run the same macro in Excel 2000 machines, it does not recognize some of the function calls. This I believe is due to it referencing a v. 9.0 reference library. Is there anyway to point it to the 10.0 reference library without updgrading the 2000 machine or downgrading the code to be restructured for 2000 format? The code is extremely lenghty, so any help on this is much appreciated! Thanks in advance, Michelle |
Urgent!!! -- Reference libraries
Hi Dave, What you have mentioned does make sense, and I have done that before. However, for example, I have used a Paste Special command for only pasting values and number formats in XP. (PasteSpecial Paste:=xlValuesAndNumberFormats) But the problem is, this command does not exist at all in 2000, as a result it throws an error. So I have put in (PasteSpecial Paste:=xlValues , PasteSpecial Paste:=xlFormats) as two separate commands in the code. By doing so, now I have to go in and re-format everything. Because this is a long set of code, I was just wondering whether there was an easy way out of just importing a reference library or somehow be able to use more than one excel reference library. If you have any suggestions for this, I would much appreciate it. Thanks, Michelle *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
Urgent!!! -- Reference libraries
The paste:=xlvaluesandnumberformats will cause a problem with late binding or
early binding--'cause (like you said), it doesn't exist in xl2k. I don't think that there's a way to steal from one version to the previous. (maybe just upgrading those stragglers!??) Michelle To wrote: Hi Dave, What you have mentioned does make sense, and I have done that before. However, for example, I have used a Paste Special command for only pasting values and number formats in XP. (PasteSpecial Paste:=xlValuesAndNumberFormats) But the problem is, this command does not exist at all in 2000, as a result it throws an error. So I have put in (PasteSpecial Paste:=xlValues , PasteSpecial Paste:=xlFormats) as two separate commands in the code. By doing so, now I have to go in and re-format everything. Because this is a long set of code, I was just wondering whether there was an easy way out of just importing a reference library or somehow be able to use more than one excel reference library. If you have any suggestions for this, I would much appreciate it. Thanks, Michelle *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! -- Dave Peterson |
All times are GMT +1. The time now is 05:04 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com