Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default 2003 VB Excel back to 2000 VB Excel

I have vb excel that I wrote in version 2000. When my company upgraded my PC
to v2003 I had no problems - all my programs ran just fine. However several
of my fellow employees are still running v2000 and when they attemp to run my
programs - they get a "Compile error: Can't find project or library" error.
Short of paying to have them all upgraded, is there a simple solutions so my
programs will run in v2000?

Thanks in advance,
Mike
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,718
Default 2003 VB Excel back to 2000 VB Excel

On a user's machine look at Tools, References in the VBE when your project
is active and determine which one is "missing". Uncheck it and the code may
run fine. If so it's not needed so uncheck it on your machine for future
installs.

--
Jim
"MFlanders" wrote in message
...
|I have vb excel that I wrote in version 2000. When my company upgraded my
PC
| to v2003 I had no problems - all my programs ran just fine. However
several
| of my fellow employees are still running v2000 and when they attemp to run
my
| programs - they get a "Compile error: Can't find project or library"
error.
| Short of paying to have them all upgraded, is there a simple solutions so
my
| programs will run in v2000?
|
| Thanks in advance,
| Mike

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default 2003 VB Excel back to 2000 VB Excel

Thanks Jim - that worked great. But now can I ever make changes to my
program from my PC with v2003? I control the main file and others access it
via a link in another software. Should I back load v2000 and always make
changes there so as to not gig everyone else?

Mike

"Jim Rech" wrote:

On a user's machine look at Tools, References in the VBE when your project
is active and determine which one is "missing". Uncheck it and the code may
run fine. If so it's not needed so uncheck it on your machine for future
installs.

--
Jim
"MFlanders" wrote in message
...
|I have vb excel that I wrote in version 2000. When my company upgraded my
PC
| to v2003 I had no problems - all my programs ran just fine. However
several
| of my fellow employees are still running v2000 and when they attemp to run
my
| programs - they get a "Compile error: Can't find project or library"
error.
| Short of paying to have them all upgraded, is there a simple solutions so
my
| programs will run in v2000?
|
| Thanks in advance,
| Mike


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default 2003 VB Excel back to 2000 VB Excel

You should be able to work on the workbook in 2003 even if the users
have only 2000. Just be sure not to use any features added post-2000.
If you are using non-standard DLLs, you'll have to copy those files to
the end-users' computers and register them with Windows using
Regsvr32. But if you have just a simple self-contained workbook, you
can work in 2003 without problems.

Cordially,
Chip Pearson
Microsoft MVP
Excel Product Group
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)

On Mon, 8 Dec 2008 13:30:05 -0800, MFlanders
wrote:

Thanks Jim - that worked great. But now can I ever make changes to my
program from my PC with v2003? I control the main file and others access it
via a link in another software. Should I back load v2000 and always make
changes there so as to not gig everyone else?

Mike

"Jim Rech" wrote:

On a user's machine look at Tools, References in the VBE when your project
is active and determine which one is "missing". Uncheck it and the code may
run fine. If so it's not needed so uncheck it on your machine for future
installs.

--
Jim
"MFlanders" wrote in message
...
|I have vb excel that I wrote in version 2000. When my company upgraded my
PC
| to v2003 I had no problems - all my programs ran just fine. However
several
| of my fellow employees are still running v2000 and when they attemp to run
my
| programs - they get a "Compile error: Can't find project or library"
error.
| Short of paying to have them all upgraded, is there a simple solutions so
my
| programs will run in v2000?
|
| Thanks in advance,
| Mike


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 634
Default 2003 VB Excel back to 2000 VB Excel

If you are suporting users on a different version, the safest way to test is
to load that version on your machine as well and then try it yourself. Code
in 2003 if you want, but test in 2000. You can have as many versions of
office installed as you like (only one version of outlook though), but
should install in order, so if you install 2000 now, you should then
reinstall or repair 2003.

Note that this wouldn't necessarily have trapped this particular issue, but
the advice still holds good in general.

Regards
Ken...............................


"MFlanders" wrote in message
...
Thanks Jim - that worked great. But now can I ever make changes to my
program from my PC with v2003? I control the main file and others access
it
via a link in another software. Should I back load v2000 and always make
changes there so as to not gig everyone else?

Mike

"Jim Rech" wrote:

On a user's machine look at Tools, References in the VBE when your
project
is active and determine which one is "missing". Uncheck it and the code
may
run fine. If so it's not needed so uncheck it on your machine for future
installs.

--
Jim
"MFlanders" wrote in message
...
|I have vb excel that I wrote in version 2000. When my company upgraded
my
PC
| to v2003 I had no problems - all my programs ran just fine. However
several
| of my fellow employees are still running v2000 and when they attemp to
run
my
| programs - they get a "Compile error: Can't find project or library"
error.
| Short of paying to have them all upgraded, is there a simple solutions
so
my
| programs will run in v2000?
|
| Thanks in advance,
| Mike






  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 45
Default 2003 VB Excel back to 2000 VB Excel

Mike
if you are referencing external components (which it sounds like you are
from the missing library errors) then ideally you should develop on a
machine with the oldest version of Excel and Internet Explorer and
Windows. Otherwise this problem will keep cropping up.

You can't roll your box back by just installing 2000 as various OS
components will have been updated and won't get downgraded. Well it
might work - it totally depends what components your code is referencing.

Another option which I have used in the past is to remove the references
and declare the variables referring to external components as Objects eg:
Dim cat as ADOX.Catalog 'for my machine
Dim cat as Object ' for their machine.

Then comment out the objects and add the refs for developing and
testing. For release remove refs and swap comment lines. This executes a
bit slower, so may not suit your situation.

You could use conditional compilation if the code is complex.

There is a reference checker here I have found useful:
http://www.codematic.net/excel-tools...xcel-tools.htm

If you are working with data make sure everyone has the latest mdac (and
IE if poss)

Cheers
Simon
Excel development website: www.codematic.net



MFlanders wrote:
Thanks Jim - that worked great. But now can I ever make changes to my
program from my PC with v2003? I control the main file and others access it
via a link in another software. Should I back load v2000 and always make
changes there so as to not gig everyone else?

Mike

"Jim Rech" wrote:

On a user's machine look at Tools, References in the VBE when your project
is active and determine which one is "missing". Uncheck it and the code may
run fine. If so it's not needed so uncheck it on your machine for future
installs.

--
Jim
"MFlanders" wrote in message
...
|I have vb excel that I wrote in version 2000. When my company upgraded my
PC
| to v2003 I had no problems - all my programs ran just fine. However
several
| of my fellow employees are still running v2000 and when they attemp to run
my
| programs - they get a "Compile error: Can't find project or library"
error.
| Short of paying to have them all upgraded, is there a simple solutions so
my
| programs will run in v2000?
|
| Thanks in advance,
| Mike


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
editing an excel 97 file within excel 2003 and saving back as exce Chris Egebrecht Excel Discussion (Misc queries) 3 March 24th 06 11:14 PM
Upgrade from Excel 2000 to Excel 2003 without MS Office 2003? brigida3 Excel Discussion (Misc queries) 1 January 22nd 06 05:13 PM
Excel 2000 back up file MasterRay Excel Discussion (Misc queries) 0 October 5th 05 06:37 PM
calling a C++ program from Excel 2000 and passing a result from C++ back to an excel spreadsheet ellis kurland Excel Discussion (Misc queries) 3 August 15th 05 04:10 PM
Can I transfer files back & forth from excel 2000 to excel 2003? pheller Excel Discussion (Misc queries) 1 June 30th 05 06:26 PM


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