Set location to resourse name

G

Guest

I am using a custom template for a training room. When an item is created
the location is blank. I want it to be the resourse name. I know would use
the OPEN event and item.location, my question is:

item.location= (what?)
 
S

Sue Mosher [MVP-Outlook]

Item.Location = "whatever text you want to appear there"

Note that Outlook should automatically insert the resource name into the Location field when the user invites a room as a resource attendee.
 
G

Guest

1) for this room, we don't want to send out invitations.

2) I am looking for the property that would be the resourse name (i.e. the
calendar in which the scheduler is creating an appointment. Since the form
would be used as a template for several calendars, I don't want it to be a
literal.

Thanks, Marlene
 
G

Guest

Anyway to clear the cashe in the drop down control for Location and
re-populate with desired list?
 
S

Sue Mosher [MVP-Outlook]

No, the list is maintained by Outlook from previous values. You can clear it by hacking the registry, but you can't populate it.

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top