>#DEFINE wdToggle 9999998 >LOCAL loWord, loSelection, loDocument >loWord = CREATEOBJECT("Word.Application") >loWord.Visible = .T. >loDocument = loWord.Documents.Add() >loSelection = loWord.Selection >loSelection.Font.Name= "lucida console" >loSelection.Font.Size= "9" >=STRTOFILE(CHRTRAN(FILETOSTR("M.txt"),CHR(26),''),"M.txt")') >=STRTOFILE(CHRTRAN(FILETOSTR("M.txt"),"PAGE","^M PAGE"),"M.txt")') && doesn't work >loSelection.TypeText(FILETOSTR("M.txt") ) >The codes are for Word's internal use; Naomi already gave you a reply, but if you don't know the command, the correct thing to do here, I believe, is to save a macro in Word, give the command (in this case, insert a page break), and then try to adapt the macro.