>> Hi again.
>> As I wrote - on my computer its working fine - so I believe the code is
[quoted text clipped - 9 lines]
> When targettiung multiple versions of Word, it is advisable to develop
> using the oldest version and then test on the newer ones.
> Hi Jonathan
>
[quoted text clipped - 9 lines]
> I took msword9.olb to my computer and tried to use dim x as
> word.document - just to see if it will print from my pc - and it did.
That will have no effect. msword9.olb is useless without the rest of Word.
If your code still worked it is because it was not using msword9.olb.
> It is still a riddle for me ...
>
> Thanks again for all the efforts
You're going to have to get a copy of Word 2000 onto a development machine
and test it there. If you don't want to dedicate a whole separate machine to
this, then you might get a copy of VirtualPC and use it to install Word on a
virtual machine. Don't attempt to install multiple versions of Office on the
same PC except in separate boot partitions or virtual machines. While it is
possible to get it working it is scarcely a realistic environment for
testing how things will go for customers.
The likely cause is that you are using an object or parameter in your code
that is available in the Word XP object model but was not present in the
Word 2K object model, and Word 2K is choking on a command it doesn't know
how to deal with. but without seeing the actual code, I have no way of
knowing which is the offending item.
You can't really expect to repro the problem unless you also repro the
conditions under which the problem occurs. Unless & until you do that, it
will remain a riddle...

Signature
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org