PC Review


Reply
Thread Tools Rate Thread

Populate TO Field w/ Items From List Box or Check Box

 
 
Maria V
Guest
Posts: n/a
 
      17th May 2010
I am creating a custom Outlook email form and I keep hitting a snag with the
section that populates the “To” field. The form will be used as an
interoffice email form to update our Project Leads on project
progress/issues. The user needs to be able to select any variation of
Project Leads (approx 15 recipients) and have the names populate in the To
field as recipients.

When I use a list box to select various emails from the list (a button as an
event to populate field), it works, but I get the email addresses in the ‘To’
line as one long string with commas dividing the emails. Outlook doesn’t
automatically fix this because it sees it as one email instead of various
recipients. This method would work if I could get the “possible value” field
(in the field properties, value tab) to hold spaces or semicolons. This
would break up the email addresses and there would be no issues, but Outlook
uses the semicolons as a divider of lines for values of the list box so it
removes the spaces and semicolons. Is there any way I can force it to keep a
semi-colon or a space?

As an alternative, I have tried creating individual check boxes for each
email. However I couldn’t find an easy way to populate the “To” field if the
box was checked, so I believe this method would require me to write VB code.
I am not against writing code, but it has been so many years since I wrote
code, I am unsure where to start.

Any ideas????

FYI, I am creating the form in Outlook 2007, but had the same issue in
Outlook 2003 and all of the users are internal Exchange (2003) users.

--
Maria
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compare List A to List B, Return List B Items Not in List A zwestbrook Microsoft Excel Programming 4 18th Sep 2008 10:32 PM
Populate memo field with check box Steve Goodrich Microsoft Access Getting Started 6 5th Aug 2008 09:17 PM
Populate a list box from a Multi Select List box =?Utf-8?B?QWxleA==?= Microsoft Access Forms 6 16th Oct 2006 02:06 AM
using first list box to populate choices in second list box =?Utf-8?B?R2l6?= Microsoft Access Forms 2 25th Oct 2005 04:51 PM
Multi-Selected Items from one List Box to other empty List Box and text box Sumit Microsoft Access Form Coding 3 15th Jul 2003 09:11 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:12 PM.