Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Forms / September 2004

Tip: Looking for answers? Try searching our database.

Manipulating the CC field in a custom form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dorian Clinton - 23 Sep 2004 19:25 GMT
I have a New user request form that needs to be sent to
the applications group if a certain app is required.  I
want to autopopulate the CC field w/a recipient if a
specific CheckBox control is checked (-1) on the form...
any help would be greatly appreciated.  Thanks from the
forms newbie.
Dorian Clinton
dclinton.sunrise@nocoha.org
Sue Mosher [MVP-Outlook] - 23 Sep 2004 19:49 GMT
Critical factors:

1) Will this be the only CC addressee or could there be others?
2) Outlook version?
3) Is the check box bound to an Outlook property or unbound?

In the meantime, you might find the information at
http://www.outlookcode.com/d/formcontrols.htm and
http://www.outlookcode.com/d/propsyntax.htm useful.

Signature

Sue Mosher, Outlook MVP
Author of
    Microsoft Outlook Programming - Jumpstart for
    Administrators, Power Users, and Developers
    http://www.outlookcode.com/jumpstart.aspx

>I have a New user request form that needs to be sent to
> the applications group if a certain app is required.  I
[quoted text clipped - 4 lines]
> Dorian Clinton
> dclinton.sunrise@nocoha.org
Dorian Clinton - 23 Sep 2004 20:28 GMT
The answers to your questions are as follows:
1) There will be only one recipient (either a single
person or a distro list depending on the group's
preference)
2) Outlook 2003 SP1
3) The checkbox is bound to a user defined field
[HlthPro], but no initial values are set, and no
validation formulae are set.

Thanks for your help,
Dorian Clinton
dclinton.sunrise@nocoha.org

>-----Original Message-----
>Critical factors:
[quoted text clipped - 17 lines]
>
>.
Sue Mosher [MVP-Outlook] - 24 Sep 2004 13:11 GMT
Try this code in the Item_Send event handler:

Function Item_Send()
   If Item.UserProperties("HlthPro") Then
       Item.CC = "someone@somewhere.com"
   End If
End Function

Signature

Sue Mosher, Outlook MVP
Author of
    Microsoft Outlook Programming - Jumpstart for
    Administrators, Power Users, and Developers
    http://www.outlookcode.com/jumpstart.aspx

> The answers to your questions are as follows:
> 1) There will be only one recipient (either a single
[quoted text clipped - 9 lines]
>>> want to autopopulate the CC field w/a recipient if a
>>> specific CheckBox control is checked (-1) on the form...
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.