outlook checkbox merge

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have created an outlook template form which mostly uses checkboxes and
textboxes. I also have a word template form to accept the value of those
checkboxes and textboxes. what is happening here is that when the user
clicks on print on my custom outlook form, the data on the form is merged
over the a word template. I am however having trouble getting the value of
my checkboxes on my outlook form to fill in the checkboxes on my word
template. here is my code:

Set strMyField = Item.UserProperties.Find("Deleted KeyCard Access")
if strMyField = True Then
oDoc.FormFields("Check1").Result = True
else
oDoc.FormField("Check1").Result = False
end if

any suggestions?
 
Use this syntax for check box form fields in Word:

oDoc.FormFields("Check1").CheckBox.Value = True

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Back
Top