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

Check Box on Form



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5  
Old April 27th 06, 09:22 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Check Box on Form

Since you can have other To recipients besides the one the check box adds, you'll probably find it easiest to handle this in the Item_Send event handler. Note the syntax for referring to a control using the page and control names:

Function Item_Send()
Set myPage = Item.GetInspector.ModifiedFormPages("Name of your customized page")
Set CheckBox1 = myPage.Controls("CheckBox1")
If CheckBox1.Value = True Then
Set recip = Item.Recipients.Add "name_of_recipient"
recip.Resolve
End If
End Function
--
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 ...
Yes the message can have more that one To recipient and the check box is
unbounded.

"Sue Mosher [MVP-Outlook]" wrote:

Key questions:

1) Can the message have more than one To recipient?
2) Is the check box bound to an Outlook property?

In the meantime, see http://www.outlookcode.com/d/propsyntax.htm

"adubb" wrote in message ...
I have a check box on my custom form and I want it to populate the "To" Field
with the corresponding email group when it is check...any ideas to generate
this?


 




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
Having an issue with Check Full Name form Bo Outlook - Using Contacts 1 February 24th 06 02:20 PM
Outlook Tasks: a check box to show due date reminder in calender MHackl Outlook - Calandaring 1 February 22nd 06 06:13 AM
The check address pop up box changes the format of my addresses! HCSelf Outlook - Using Contacts 1 January 31st 06 10:41 PM
DropList box on Contact form Sue Mosher [MVP-Outlook] Outlook - Using Forms 0 January 20th 06 06:31 PM
DropList box on Contact form Sue Mosher [MVP-Outlook] Outlook - Using Forms 0 January 20th 06 06:30 PM


All times are GMT +1. The time now is 09:23 AM.


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.