function GetInstalledWordVersion: Integer; var word: OLEVariant; begin word := CreateOLEObject('Word.Application');
result := word.version;
word.Quit;
word := UnAssigned; end;
// Example: procedure TForm1.Button1Click(Sender: TObject); begin ShowMessage(IntToStr(GetInstalledWordVersion)); end;