A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Calandaring
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Create Custom Appointment with VBA



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 8th 08, 07:54 AM posted to microsoft.public.outlook.calendaring
ZootRot
external usenet poster
 
Posts: 13
Default Create Custom Appointment with VBA

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.


Ads
  #2  
Old February 8th 08, 10:00 AM posted to microsoft.public.outlook.calendaring
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Create Custom Appointment with VBA


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.

--
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

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.

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to create custom appointment sjsdoc Outlook - Calandaring 3 January 2nd 07 03:31 PM
Create and set up custom forms in OWA Reto. Outlook - Using Forms 1 July 24th 06 03:14 PM
how to create CUSTOM calendar? Gems There Outlook - Calandaring 1 May 24th 06 11:25 PM
How do I create a custom fax template? [email protected] Outlook - General Queries 2 May 8th 06 10:38 PM
Create a custom appointment form Theresa Smallwood Outlook - Using Forms 1 April 27th 06 09:14 PM


All times are GMT +1. The time now is 10:43 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.