![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
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? |
Ads |
#2
|
|||
|
|||
![]()
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 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "adubb" wrote in message ... 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? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mail merge to Outlook | zombeese | Outlook - General Queries | 13 | June 23rd 06 04:56 PM |
outlook merge field | adubb | Outlook - Using Forms | 1 | May 27th 06 02:14 PM |
if checkbox is checked then... | andy | Outlook - Using Forms | 3 | April 5th 06 09:45 PM |
Using a Checkbox in Outlook Form Designer | Frank R | Outlook - Using Forms | 3 | March 29th 06 03:47 PM |
How do I merge two calendars in Outlook 2003? | rasmund | Outlook - Calandaring | 1 | March 6th 06 06:25 PM |