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 / Calendaring / February 2008

Tip: Looking for answers? Try searching our database.

Create Custom Appointment with VBA

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ZootRot - 08 Feb 2008 07:54 GMT
Outlook 2003

I have regular and frequent appointments with the same people on the same
topic.  I wanted to write some quick VBA code to create an appointment from
a form where I select from standard options.  Alternatively, add some fields
(text and drop downs) to a calendar entry form, which I load via a toolbar
button.

I Googled for some code examples but cannot find anything. Can anyone point
me in the right direction, or give some advice.

I've never programmed in Outlook VBA, but I have programmed in Excel VBA &
VB6.

Thanks.
Michael Bauer [MVP - Outlook] - 08 Feb 2008 10:00 GMT
This creates a new item:

Dim Appt as Outlook.AppointmentItem
Set Appt=Application.CreateItem(olApoointmentItem)

You can then set every property like you want. Please look into the Object
Browser for what's available: Click f2, switch from <All Libraries> to
Outlook, and select the AppointmentItem left hand.

Signature

Best regards
Michael Bauer - MVP Outlook
 Use Outlook Categories? This is Your Tool:
 <http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6>

Am Fri, 8 Feb 2008 15:54:21 +0800 schrieb ZootRot:

> Outlook 2003
>
[quoted text clipped - 9 lines]
> I've never programmed in Outlook VBA, but I have programmed in Excel VBA &
> VB6.
 
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.