General information
Category:
COM/DCOM and OLE Automation
It puts the text into the next section instead of at the end of section 1.
Any ideas ?
oWord = CreateObject("Word.Application")
oWord.visible = .t.
oDocument = oWord.Documents.Add("Tap.dot")
oRange = oDocument.Sections[1].Range
oRange.InsertBefore("ABC"+chr(13))
oRange.InsertAfter("XYZ")
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only