It is necessary to carry out insertion from delphi with formatting, wrote a macro in vba as a result of which the following line should be translated into delphi
Selection.PasteAndFormat (wdFormatPlainText) But I could not do it. How can this be done differently or convert this code?
MyWordApp.ActiveDocument.ActiveWindow.Selection.PasteAndFormat(...). ThewdFormatPlainText= 22wdFormatPlainText. But this is bad — to access ActiveXXX objects in MSOffice. - kami