Where you've used Word constants, you need to declare them at the start of
your vbs file. For example, you would want to have the line,
Const wdLineSpaceSingle = 0
Do a search for each of the constants in your VBE window to find the correct
values.
Also, where you use a function like "CentimetersToPoints", you want to
change to something like,
objWord.Application.CentimetersToPoints(1.27)
Steve
> Hello,
>
[quoted text clipped - 45 lines]
>
> Mark Holland
Mark Holland - 17 Oct 2007 15:54 GMT
Hi Steve,
Thanks for that! Both comments have been very useful!!
MArk
> Where you've used Word constants, you need to declare them at the start of
> your vbs file. For example, you would want to have the line,
[quoted text clipped - 57 lines]
> >
> > Mark Holland