automatically fill "To" field in address book

  • Thread starter Thread starter NewOutlookDevlpr
  • Start date Start date
N

NewOutlookDevlpr

I'm pretty new to Outlook. I want a particular email to be
automatically filled in the "To" field when the address
book is loaded. Is there any way to do this ?
Im trying to automate appts in outlook.

Thanks
 
I'm not sure what you mean. Do you want to be able to browse through the
Address Book while a new e-mail is open, and double-click an address and
have it added to the To field? The Select Names dialog that appears when
you click the To: button has that functionality - any address you select
goes to the appropriate To:, Cc: or Bcc: sections automatically.

What exactly does this have to do with Appointments? If you are trying to
select Attendees for a Meeting Request, the recipient chooser dialog is the
same but named 'Select Attendees and Resources'. The To:, Cc: or Bcc:
sections become Required, Optional and Resources.

None of this requires any programming knowledge.

Or do you want a specific e-mail address to always be included for all new
e-mails or Meeting Requests?
 
I am customizing an Outlook VBA form that gathers the calendar of
group of conference rooms and stores it as a single 'Group' calendar
I actually downloaded the sample form slipstick.com and customizing i
(Here's the link
http://www.slipstick.com/addins/gallery/index.htm#groupcal unde
groupcal)

When I choose the rooms' calendars, I want a set of rooms to b
automatically filled in each time in the address book is loaded. That
what I'm trying to do.

Thanks for the help. I really appreciate it
 
I am customizing an Outlook VBA form that gathers the calendar of
group of conference rooms and stores it as a single 'Group' calendar
I actually downloaded the sample form slipstick.com and customizing i
(Here's the link
http://www.slipstick.com/addins/gallery/index.htm#groupcal unde
groupcal)

When I choose the rooms' calendars, I want a set of rooms to b
automatically filled in each time in the address book is loaded. That
what I'm trying to do.

Thanks for the help. I really appreciate it
 
I downloaded the sample you are using and now I understand what you are
trying to do. The Session.AddressBook method allows you to pass a
Recipients collection to pre-populate the address list with. However, there
is no way to filter this collection or add specific addresses to it.

It looks like your best bet is to modify the Gatherappts procedure in the
GroupCal form, and use the NameSpace.GetRecipientFromID method to retrieve
the address entries you need. Then perform the same actions on those
objects/addresses that the looping code is doing with the Recipients
collection that was retrieved from the AddressBook dialog/method.
 
Back
Top