Mirror

WordBasic via OLE (Views: 101)


Problem/Question/Abstract:

WordBasic via OLE

Answer:

Try the following:


uses OleAuto;

var
  MSWord: Variant;

begin
  MsWord := CreateOleObject('Word.Basic');
  MsWord.FileNewDefault;
  MsWord.TogglePortrait;
end;

<< Back to main page