Microsoft Office Microsoft Word Append Text to a Word Document
' Append Text to a Word Document
Const END_OF_STORY = 6 Const MOVE_SELECTION = 0
Set objWord = CreateObject("Word.Application") objWord.Visible = True
Set objDoc = objWord.Documents.Open("c:\scripts\word\testdoc.doc") Set objSelection = objWord.Selection objSelection.EndKey END_OF_STORY, MOVE_SELECTION
objSelection.TypeParagraph() objSelection.TypeParagraph()
objSelection.Font.Size = "14" objSelection.TypeText "" & Date() objSelection.TypeParagraph() objSelection.TypeParagraph()
objSelection.Font.Size = "10"
|
VbsEdit includes all these samples!
Download Now!
Version 5.4.1 - This package includes VbsEdit 32-bit, VbsEdit 64-bit, HtaEdit 32-bit and HtaEdit 64-bit. The evaluation version never expires.
Home
Buy Now
HtaEdit
Support
Video
What's new ?
|