C
CS Hayes
I used a piece of code for automaticly filling in a document through a user
form. I now need the code to fill in form check boxes on my document. Can I
access these through code? If so, how?
sample code:
With ActiveDocument
.Bookmarks("customer").Range.InsertBefore customer
End with
If enclosingx = yes Then
ActiveDocument.Bookmarks("enclosingx") = yes
End If
The "with" statement works fine.
"Enclosingx" is a checkbox on the document, this piece of code does not work.
form. I now need the code to fill in form check boxes on my document. Can I
access these through code? If so, how?
sample code:
With ActiveDocument
.Bookmarks("customer").Range.InsertBefore customer
End with
If enclosingx = yes Then
ActiveDocument.Bookmarks("enclosingx") = yes
End If
The "with" statement works fine.
"Enclosingx" is a checkbox on the document, this piece of code does not work.