R
Ronald
Hello,
I am presently trying to export data from a form to a
WORD template using VBA.
Normal text fields are working fine.
Presently I have run into the error that I cannot take
the value of a checkbox on the form (called chkPara4) and
setting the check box on the WORD document
(bookmark "chkPara4") to equal the form value.
The code I have does not work. I am not sure if I am not
understanding the syntax of the VBA.
it is not as easy as using:
(SAMPLE)
Set objWord = New Word.Application
objWord.Documents.Add "c:/database/report_special.dot"
objWord.Visible = True
objWord.ActiveDocument.Bookmarks("chkPara4").Value = Me!
chkPara4
(END SAMPLE)
There seems to be some sort of difference between the
both. I am using the if statement, but the debugger does
not stop until I try to set the values to be equal.
Any help would be great.
RMD
I am presently trying to export data from a form to a
WORD template using VBA.
Normal text fields are working fine.
Presently I have run into the error that I cannot take
the value of a checkbox on the form (called chkPara4) and
setting the check box on the WORD document
(bookmark "chkPara4") to equal the form value.
The code I have does not work. I am not sure if I am not
understanding the syntax of the VBA.
it is not as easy as using:
(SAMPLE)
Set objWord = New Word.Application
objWord.Documents.Add "c:/database/report_special.dot"
objWord.Visible = True
objWord.ActiveDocument.Bookmarks("chkPara4").Value = Me!
chkPara4
(END SAMPLE)
There seems to be some sort of difference between the
both. I am using the if statement, but the debugger does
not stop until I try to set the values to be equal.
Any help would be great.
RMD