
Signature
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
This worked and the checkbox is autopopulating the CC field, however I have
multiple check boxes and selecting the next checkbox overrides the first one
that was selected. How do I make it so once a box has been checked the
addresses will stay in the CC line and if another check box is checked it
will be added to the CC line instead of overwriting it?
> If you want to set the Cc property, that would be:
>
[quoted text clipped - 22 lines]
> > Set objNS = Nothing
> > End Sub
Hollis Paul - 25 Apr 2007 21:08 GMT
> How do I make it so once a box has been checked the
> addresses will stay in the CC line and if another check box is checked it
[quoted text clipped - 3 lines]
> >
> > Item.Cc = "some address"
Item.Mileage = Item.Cc
Item.Cc = Item.Mileage + " ; " + "some address"
--
Hollis Paul
Mukilteo, WA USA
Sue Mosher [MVP-Outlook] - 25 Apr 2007 22:35 GMT
You can append as well:
Item.Cc = Item.CC & ";" & "some address"

Signature
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
> This worked and the checkbox is autopopulating the CC field, however I have
> multiple check boxes and selecting the next checkbox overrides the first one
[quoted text clipped - 7 lines]
>>
>> See http://www.outlookcode.com/d/propsyntax.htm
>>
>> >I have created some custom forms within outlook and am now looking to add
[quoted text clipped - 17 lines]
>> > Set objNS = Nothing
>> > End Sub