F
Francois
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
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