If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Outlook and VBA
I am currently able to use VBA to create new appointments in Outlook 2003
without a problem, but what I would also like to do is to create appointments on our public folder calendar (which is shared throughout the office using Exchange Server). |
Ads |
#2
|
|||
|
|||
Outlook and VBA
To create a new item in a non-default folder programmatically, use the Add method on the target folder's Items collection:
Set newItem = targetFolder.Items.Add("IPM.Appointment.MyCustomFo rm") The message class parameter is optional. You can use the code at http://www.outlookcode.com/d/code/getfolder.htm to walk the folder hierarchy and return the MAPIFolder corresponding to a given path string. -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Peter Haynes" wrote in message ... I am currently able to use VBA to create new appointments in Outlook 2003 without a problem, but what I would also like to do is to create appointments on our public folder calendar (which is shared throughout the office using Exchange Server). |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help with VBA and Outlook | ms | Outlook and VBA | 2 | April 21st 06 07:23 PM |
outlook and vba | Greenjedi | Outlook and VBA | 3 | April 20th 06 12:23 PM |
Using VBA for Outlook and VBA for Access within Access | Sardonic | Outlook and VBA | 1 | March 17th 06 12:34 PM |
Outlook VBA text functions | Vaughan | Outlook and VBA | 5 | February 14th 06 08:51 AM |
Can I use VBA to activate a hyperlink in Outlook? | [email protected] | Outlook and VBA | 2 | January 18th 06 12:57 AM |