PC Review
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
Resources
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
Resources
![]() |
Resources |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
We have create email accounts for our Video Conference
Boardrooms. We want to be able to go to the attendee availability page and view which ones are busy. Created code that can add an address to the TO (recipients) field and also code that can eliminate it if we deselect that boardroom, but the TO field is not where we need to add the address, it is the Resource (Location) field. The code we used to add a boardroom to the TO field is: Item.Recipients.Add ("edmontonvc@pwgsc.gc.ca") How can we change that as a Resource Option, so we can check the availability of the room? Thanks. Michael K. |
|
|
|
#2 |
|
Guest
Posts: n/a
|
After adding and resolving the Recipient object, you can change the type to
olResource (3) to make it a resource. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Michael K." <anonymous@discussions.microsoft.com> wrote in message news:f5fc01c3f26b$37b028e0$a101280a@phx.gbl... > We have create email accounts for our Video Conference > Boardrooms. We want to be able to go to the attendee > availability page and view which ones are busy. Created > code that can add an address to the TO (recipients) field > and also code that can eliminate it if we deselect that > boardroom, but the TO field is not where we need to add > the address, it is the Resource (Location) field. The > code we used to add a boardroom to the TO field is: > > Item.Recipients.Add ("edmontonvc@pwgsc.gc.ca") > > How can we change that as a Resource Option, so we can > check the availability of the room? Thanks. > > Michael K. |
|
|
|
#3 |
|
Guest
Posts: n/a
|
Thanks for your reply Sue. This line of code:
Item.Recipients.Add ("edmontonvc@pwgsc.gc.ca") adds the address we want, but I don't understand how I change it to Resource(3). I am assuming it is a line of code after the "Add" code? I read one of your responses to someone here and wanted to let you know that I would be very interested to take your online training of Outlook programming of forms. Could you put this option on your SlipStick site when you are ready to roll this out? I'll be one of the first ones to sign up. ![]() Thanks. Michael K. >-----Original Message----- >After adding and resolving the Recipient object, you can change the type to >olResource (3) to make it a resource. >-- >Sue Mosher, Outlook MVP >Author of > Microsoft Outlook Programming - Jumpstart for > Administrators, Power Users, and Developers > http://www.outlookcode.com/jumpstart.aspx > > >"Michael K." <anonymous@discussions.microsoft.com> wrote in message >news:f5fc01c3f26b$37b028e0$a101280a@phx.gbl... >> We have create email accounts for our Video Conference >> Boardrooms. We want to be able to go to the attendee >> availability page and view which ones are busy. Created >> code that can add an address to the TO (recipients) field >> and also code that can eliminate it if we deselect that >> boardroom, but the TO field is not where we need to add >> the address, it is the Resource (Location) field. The >> code we used to add a boardroom to the TO field is: >> >> Item.Recipients.Add ("edmontonvc@pwgsc.gc.ca") >> >> How can we change that as a Resource Option, so we can >> check the availability of the room? Thanks. >> >> Michael K. > > >. > |
|
|
|
#4 |
|
Guest
Posts: n/a
|
Set objRecip = Item.Recipients.Add("edmontonvc@pwgsc.gc.ca")
objRecip.Type = olResource ' or 3 if this is VBScript code We're months and months away from having any online training, alas. But my book would probably serve you well. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Michael K." <anonymous@discussions.microsoft.com> wrote in message news:1137c01c3f4a2$25774a80$a601280a@phx.gbl... > Thanks for your reply Sue. This line of code: > > Item.Recipients.Add ("edmontonvc@pwgsc.gc.ca") > > adds the address we want, but I don't understand how I > change it to Resource(3). I am assuming it is a line of > code after the "Add" code? > > I read one of your responses to someone here and wanted to > let you know that I would be very interested to take your > online training of Outlook programming of forms. Could > you put this option on your SlipStick site when you are > ready to roll this out? I'll be one of the first ones to > sign up. ![]() > > Thanks. > > Michael K. > >-----Original Message----- > >After adding and resolving the Recipient object, you can > change the type to > >olResource (3) to make it a resource. > >-- > >Sue Mosher, Outlook MVP > >Author of > > Microsoft Outlook Programming - Jumpstart for > > Administrators, Power Users, and Developers > > http://www.outlookcode.com/jumpstart.aspx > > > > > >"Michael K." <anonymous@discussions.microsoft.com> wrote > in message > >news:f5fc01c3f26b$37b028e0$a101280a@phx.gbl... > >> We have create email accounts for our Video Conference > >> Boardrooms. We want to be able to go to the attendee > >> availability page and view which ones are busy. Created > >> code that can add an address to the TO (recipients) > field > >> and also code that can eliminate it if we deselect that > >> boardroom, but the TO field is not where we need to add > >> the address, it is the Resource (Location) field. The > >> code we used to add a boardroom to the TO field is: > >> > >> Item.Recipients.Add ("edmontonvc@pwgsc.gc.ca") > >> > >> How can we change that as a Resource Option, so we can > >> check the availability of the room? Thanks. > >> > >> Michael K. > > > > > >. > > |
|
|
|
#5 |
|
Guest
Posts: n/a
|
This works Sue, but only if you click on the SEND button
very quickly after selecting a boardroom (posts the appointment to the calendar and not to the Inbox). If you don't click quickly on the SEND button, the resource "name address" goes away and then it is only sent to the Inbox of that mailbox. Do you know why by any chance? Thanks. I do have your book and also go onto the SlipStick site lots. Your expertise is fantastic! Michael K. >-----Original Message----- >Set objRecip = Item.Recipients.Add ("edmontonvc@pwgsc.gc.ca") >objRecip.Type = olResource ' or 3 if this is VBScript code > >We're months and months away from having any online training, alas. But my >book would probably serve you well. >-- >Sue Mosher, Outlook MVP >Author of > Microsoft Outlook Programming - Jumpstart for > Administrators, Power Users, and Developers > http://www.outlookcode.com/jumpstart.aspx > > > >"Michael K." <anonymous@discussions.microsoft.com> wrote in message >news:1137c01c3f4a2$25774a80$a601280a@phx.gbl... >> Thanks for your reply Sue. This line of code: >> >> Item.Recipients.Add ("edmontonvc@pwgsc.gc.ca") >> >> adds the address we want, but I don't understand how I >> change it to Resource(3). I am assuming it is a line of >> code after the "Add" code? >> >> I read one of your responses to someone here and wanted to >> let you know that I would be very interested to take your >> online training of Outlook programming of forms. Could >> you put this option on your SlipStick site when you are >> ready to roll this out? I'll be one of the first ones to >> sign up. ![]() >> >> Thanks. >> >> Michael K. >> >-----Original Message----- >> >After adding and resolving the Recipient object, you can >> change the type to >> >olResource (3) to make it a resource. >> >-- >> >Sue Mosher, Outlook MVP >> >Author of >> > Microsoft Outlook Programming - Jumpstart for >> > Administrators, Power Users, and Developers >> > http://www.outlookcode.com/jumpstart.aspx >> > >> > >> >"Michael K." <anonymous@discussions.microsoft.com> wrote >> in message >> >news:f5fc01c3f26b$37b028e0$a101280a@phx.gbl... >> >> We have create email accounts for our Video Conference >> >> Boardrooms. We want to be able to go to the attendee >> >> availability page and view which ones are busy. Created >> >> code that can add an address to the TO (recipients) >> field >> >> and also code that can eliminate it if we deselect that >> >> boardroom, but the TO field is not where we need to add >> >> the address, it is the Resource (Location) field. The >> >> code we used to add a boardroom to the TO field is: >> >> >> >> Item.Recipients.Add ("edmontonvc@pwgsc.gc.ca") >> >> >> >> How can we change that as a Resource Option, so we can >> >> check the availability of the room? Thanks. >> >> >> >> Michael K. >> > >> > >> >. >> > > > >. > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 


