N
News.Microsoft.com
I have a piece of code in my vb app that opens up a Word document and then
fills in bookmarks with fields from a vb form. The problem that I am having
is that the fields that I am filling in have underlines and as I fill in
text it is in insert mode and pushes the lines over and messes up the page
formating. How do I turn off insert mode form VB. Here is a sample of my
code.
Dim MyWord As Word.Application
Set MyWord = New Word.Application
With MyWord
.Visible = True
.Documents.Open ("c:\BuildingChangeForm.doc")
.ActiveDocument.bookmarks("BuildingName").Select
.Selection.TypeText USIComboRead(cmbBuilding)
Thanks in advance for any help anyone can offer.
Bill
fills in bookmarks with fields from a vb form. The problem that I am having
is that the fields that I am filling in have underlines and as I fill in
text it is in insert mode and pushes the lines over and messes up the page
formating. How do I turn off insert mode form VB. Here is a sample of my
code.
Dim MyWord As Word.Application
Set MyWord = New Word.Application
With MyWord
.Visible = True
.Documents.Open ("c:\BuildingChangeForm.doc")
.ActiveDocument.bookmarks("BuildingName").Select
.Selection.TypeText USIComboRead(cmbBuilding)
Thanks in advance for any help anyone can offer.
Bill