Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
|
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 26th, 2003, 09:52 PM
Authorized User
 
Join Date: Jun 2003
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
Default Using Excel XP and Excel 97


  Guyz, i got this program am developing in VB6 but generates reports using excel en at work we are using Office XP but the client uses Office 97. I do have a reference on my VB6 project to "Microsoft Excel 10.0 object library" the program generates reports fine on office XP machine. Am wondering if this can still work on the clients computer who are using office 97. If i can't use this is there any suggestions?.

Please help!!!

LION OF JUDDAH!
__________________
LION OF JUDDAH!
 
Old August 27th, 2003, 03:53 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 132
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You're about to enter the zone known as DLL Hell! Obviously, Excel 97 doesn't have access to the XP DLLs, so it will complain mightily about missing components or 'project or library not found' and highlight something daft like Left(...) as the culprit. Unless you have a copy of 97 lying around, you will have to take you app to the client, and re-link the references to the Excel 8.0 library. Also check that you're not using any other Office libraries later than 8. If you're lucky, you will not have used any ver. 10 specific code, and everything will run happily, otherwise you will have learned a most valuable lesson:-
when developing, always use the same version of Office as the client will use in production!



There are two secrets to success in this world:
1. Never tell everything you know
 
Old August 27th, 2003, 02:24 PM
Authorized User
 
Join Date: Jun 2003
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanx for the reply!!..

 One last Question (porbably not the last).. Is it possible two have two versions of office apps in one comp?.

LION OF JUDDAH!
 
Old August 27th, 2003, 03:24 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 150
Thanks: 0
Thanked 0 Times in 0 Posts
Default

When installing oXP you're asked if you want to keep any prior version of o on your pc.

Other way round, be sure to install into another library than the one occupied already by oXP/2k. Worked for me except for an error not granting me the rights to use o97. Installing the font 'Haettensweiler' solved that problem. Don't know why, though. Read about it in a forum.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Protect / Unprotect Excel 97 - VBA Code - jlpazv Excel VBA 2 November 30th, 2007 10:54 AM
Using Excel XP and Excel 97 chiefouko Beginning VB 6 9 March 30th, 2007 03:32 AM
Return Data from Excel 97 Range into table interrupt Javascript How-To 3 March 4th, 2005 07:14 AM
excel 97 & pivottable pilmart Excel VBA 1 November 18th, 2003 08:44 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.