H
hlam
Is there a way that I can input text via VBA to text form fields that are
write protected thru Access 2000 and how?
Here are the codes I used but not working:
Dim wd As Object
Set wd = CreateObject("word.application")
wd.Documents.Open "F:\testing"
wd.Parent.Visible = True
wd.Activate
wd.ActiveDocument.Bookmarks("FirstName").Select
Selection.TypeText Text:="Hello" ** error message
** error message: Method 'Selection' of object '_Global' failed
write protected thru Access 2000 and how?
Here are the codes I used but not working:
Dim wd As Object
Set wd = CreateObject("word.application")
wd.Documents.Open "F:\testing"
wd.Parent.Visible = True
wd.Activate
wd.ActiveDocument.Bookmarks("FirstName").Select
Selection.TypeText Text:="Hello" ** error message
** error message: Method 'Selection' of object '_Global' failed