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 / May 2008

Tip: Looking for answers? Try searching our database.

OUTLOOK FORMS

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Greg - 14 May 2008 08:24 GMT
Hi all
I am trying to set up an email forms I have a drop down box with IC and MC
as the option what I am after is when IC is select the Recipient (to) box
will default to a specific email address and then when MC is selected that it
defaults to a diffent email address. Any help would be greatful I have spent
hours trying to work this out

Thanks

Greg
Sue Mosher [MVP-Outlook] - 14 May 2008 13:16 GMT
You need to put code behind the form to respond to the user's selection from the combo box. The details will depend on whether the box is bound to an Outlook property. See http://www.outlookcode.com/article.aspx?ID=38

Signature

Sue Mosher, Outlook MVP
  Author of Microsoft Outlook 2007 Programming:
    Jumpstart for Power Users and Administrators
   http://www.outlookcode.com/article.aspx?id=54

> Hi all
> I am trying to set up an email forms I have a drop down box with IC and MC
[quoted text clipped - 6 lines]
>
> Greg
Greg - 15 May 2008 00:04 GMT
Hi Sue,

Thanks for the link but I still can not work this out I have never done VB
script before and am having great difficulty could you please provide me with
a sample script to work from :
My address line is called "to"
The combo box is "DEP1" with the values of Inventory; BM
if inventory is selected it need to send to "invent ctrl" and if BM is
selected it need to send to "merch integ"

Thanking you in advance for any support / Help you can give me

Greg

> You need to put code behind the form to respond to the user's selection from the combo box. The details will depend on whether the box is bound to an Outlook property. See http://www.outlookcode.com/article.aspx?ID=38
>
[quoted text clipped - 8 lines]
> >
> > Greg
Sue Mosher [MVP-Outlook] - 15 May 2008 00:16 GMT
That's not enough information to write a script. I guess I didn't it clear enough earlier: You must determine whether your combo box is bound to an Outlook property (if so, what?) or is unbound. This is covered on the page I suggested.

I would also suggest that you at least try the very simple scripts that are already on that page. You might surprise yourself with your ability to do the job on your own. You'll certainly be the one maintaining the form and its code, so you ought to develop an understanding of how it works.
Signature

Sue Mosher, Outlook MVP
  Author of Microsoft Outlook 2007 Programming:
    Jumpstart for Power Users and Administrators
   http://www.outlookcode.com/article.aspx?id=54

> Hi Sue,
>
[quoted text clipped - 22 lines]
>> >
>> > Greg
 
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.