
Using equivlent Msword8.olb in Office 2000
The best way to ensure cross-version compatability is to late bind.
Instead of having a reference to Word, remove the reference and use CreateObject("Word.Application"). Change your variables from Word.Application, Word.Document etc. to Object.
It's slower, but it will ensure better compatibility
Quote:
> I have an application that uses Word8 that shipped with Office
> 97. I don't have office 2000 and really don't want to buy it if
> I can help it. But do want the application to work with Office
> 2000. Right now my program reference is Msword8.olb and
> uses word.application and I am thinking that if I have two
> installs one for 97 that references Msword8.olb and one
> for 2000 that references MswordX.olb(and at this point I
> don't know what that is, if someone could tell me that would
> be nice). Can anyone see why I can't just edit the reference
> and do a build and have it work???