LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Installing a Vista Office 2007 developed XLA to XP office 2003machine

I don't have any idea how MSWord works. You may want to ask this in one of the
MSWord forums.

Ed Sowell wrote:

Dave,

This procedure ALMOST worked. After removing all the ones from the
Vista/Xl2007 configuration and moving it to XP/Xl2003 it successfully found
everything except MS Word object lib. I then looked at a older version that
I originally developed on XP\Xl2003 and saw that it was using MS Word 10 Obj
Lib which maps to C:\program Files\Microsoft\Office10\MSWORD.OLB. So I tried
checking that in the VBE References dialog. No joy. It still insisted it
needed MS Word 12, which it again labeled as Missing. But, I found that XP
does have a C:\program Files\Microsoft\Office12 directory, albeit without
MSWORD.OLB. So I copied MSWORD.OLB from my Vista Office12 directory over the
the XP Office12 directory, and it works!

Still, I feel a bit uneasy about this. My gut feeling is there is no reason
my code should not work entirely under XP/Xl2003. While I have aded a lot of
code since moving to my Vista machine, my coding style has not changed and I
have not added any bells and whistles so far as I know. And, if were truely
OK to be using Office12\MSWORD.OLB with Xl2007 under Vista, why doesn't
Miscrsoft put it there?

Ed

"Dave Peterson" wrote in message
...
I'd try opening the offending xla file in xl2007.
Open the VBE
Select that addin's project
Tools|references
and remove any that are checked -- but make a not of them.
Save this file (as a different name???)

Open the new file in xl2003
Off to the VBE
And select the equivalent references
Save this file

Close xl2003, reopen xl2003 with that addin to see if it worked.

Ed Sowell wrote:

When I do this I get an error saying it can't find object or library for
CommandBar Menu. My guess is that the XLA file has a reference to the
earlier Office DLLs. How do I make it "let go" of the newer version DLLs
and
find the proper library in the Vista/Office 2007 environment?

Ironically, I originally developed most of this XLA under XP/Office
2003,
then migrated to Vista/Office 2007. Unfortunately, I still have to be
able
to deploy to an XP environment.

TIA

Ed


--

Dave Peterson


--

Dave Peterson
 
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
Install Office Standard XP on Vista. Uninstall Office 2007 Trial? Machete Excel Discussion (Misc queries) 1 August 11th 09 03:54 AM
Error on opening Excel 2007(.xlsx) on office 2003 machine. voidshyam Excel Programming 0 February 25th 08 09:51 AM
dont overwrite excel 2003 when installing office 2007 Xavier[_2_] Excel Discussion (Misc queries) 3 January 25th 08 08:14 PM
dont delete excel 2003 when installing office 2007 Xavier[_2_] Setting up and Configuration of Excel 2 January 25th 08 07:32 AM
Problem with Interop.Excel after uninstalling Office 2007 and installing Office 2003 Bill F[_2_] Excel Programming 2 May 2nd 07 02:52 PM


All times are GMT +1. The time now is 06:03 PM.

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"