OK, well I've answered my own question, but the following line doesn't
work, although its somewhat directly from Word Help. Word is returning
'Object doesn't support this property or method'
[If .Bookmarks("BodyText").Exists = True Then]
The context of the line is below...
...
Set appWord = CreateObject("Word.Application")
appWord.Visible = True
varFullFileName = "C:\Documents and Settings\dch3\Desktop\invoice.doc"
appWord.Documents.Open FileName:=varFullFileName
Set targetDocument = appWord.Documents("invoice.doc")
With targetDocument
.FormFields("AccountInformation").Result = getAccountNameForWord(9)
.FormFields("InvoiceNo").Result = 90
.FormFields("InvoiceTotal").Result = 100
.FormFields("InvoiceBalance").Result = 200
.FormFields("Description").Result = "Invoice Description Here " & Now()
If .Bookmarks("BodyText").Exists = True Then
.Bookmarks("BodyText").Select
End If
...
Is it possible to add text at a specific location in a Word Doc via code?
If yes, how?