A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

outlook checkbox merge



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old May 23rd 06, 11:36 PM posted to microsoft.public.outlook.program_forms
adubb
external usenet poster
 
Posts: 13
Default outlook checkbox merge

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  
Old May 27th 06, 02:14 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default outlook checkbox merge

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 07:55 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.