outlook checkbox merge

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?
 
S

Sue Mosher [MVP-Outlook]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top