Re: Msword.olb and Msword9.olb

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Francois (francois.etchegoin-NoSpam_at_wanadoo.fr)
Date: 02/18/04


Date: Wed, 18 Feb 2004 15:27:07 +0100

Hello everybody, (particular Tom)

For Tom :
I have tested the problem with an unprotected version of the document (I
have sent it to my customer), and it's effectively a compilation error
because of Mso9.dll missed.

For Everybody, I explain the problem :
    I write macros VBA on Word 2000 and in a PC full XP (Office XP Pro, Win
XP...) in one of my customer, it doesn't works because of dll missed whitch
is finaly Mso9.dll. If I check the VBA references in this document in my
configuration (Office 2000, W98) I see 4 dll referenced : VBA, OLE
Automation, Mso9.dll and msword9.olb. Those references are the default
references...

    In one of my customers whitch has Office XP, Mso9.dll and msword9.olb
don't exist => Compilation error... because Mso9.dll is missed (only it).
The code is protected so he can't change the references.

What can I do to pass this problem and to make macros whitch works on the 2
systems ?
A solution would be to make 2 files : 1 for Word 2000 and 1 for Word XP but
it's not good to maintain
So, Is there a service pack whitch fix this problem or a method to "prepar"
the VBA environment ?

Thanks for your answer.

Francois

Ps : sorry for the mistakes :-)
Ps2 : I have created a new News.

"Tom Winter" <Tom@NoSpam.AmosFiveSix.com> a écrit dans le message news:
umUoV2X8DHA.2576@TK2MSFTNGP09.phx.gbl...
> "Jean-Guy Marcil" wrote...
> <snip>
> > There is something else going on here. I have written macros in Word 97
> that
> > run fine on Word XP... And I did not recompile and saved the result in
an
> XP
> > document, so to speak.
> <snip>
>
> Heck, I've written macros way back in Word 6.0 that got auto-converted
into
> pseudo-VBA by Word 97 years ago and that still work under Word 2003!
> --
> Tom Winter
> Tom@NoSpam.AmosFiveSix.com
> www.AmosFiveSix.com
>
>



Relevant Pages

  • Msworld9.old ok but not Mso9.dll
    ... have sent it to my customer), and it's effectively a compilation error ... I write macros VBA on Word 2000 and in a PC full XP (Office XP Pro, ... If I check the VBA references in this document in my ... What can I do to pass this problem and to make macros whitch works on the 2 ...
    (microsoft.public.word.vba.general)
  • Re: Msworld9.old ok but not Mso9.dll
    ... "Francois" wrote in message ... > Hello everybody, (particular Tom) ... > The code is protected so he can't change the references. ... > What can I do to pass this problem and to make macros whitch works on the ...
    (microsoft.public.word.vba.general)
  • Re: Pining governoer
    ... Tom has got a full answer and because the answer doesn't ... > Would you Seppo care to write following in a way that Tom(and other ... No amount of references, citations will ... "naysaying" is God's Word and needs no references, logic or reasoning ...
    (sci.archaeology)
  • Re: Adding a new entry to a linked table
    ... select Tools | References from the menu. ... Doug Steele, Microsoft Access MVP ... When I try and add a new entry I get this error from ... >>>I have an order entry form that has a field for the customer name. ...
    (microsoft.public.access.forms)
  • Re: circular relationships ok?
    ... Having this constraint you have a ... a relationship between a customer and its ... Cycles are not allowed. ... The concepts with loops (mutual references) have to be placed in one level and interpreted as parts of one entity separated for some reason. ...
    (comp.databases.theory)