PC Review


Reply
Thread Tools Rate Thread

How do I create an appointment on a specific calendar

 
 
=?Utf-8?B?T3NjYXJN?=
Guest
Posts: n/a
 
      31st Jul 2006
I'm wondering if there is a way to specify what calendar the oppointment is
created in?

There are three public calendars, and I want to specify in what calendar I
create an appointment.

Thanks,
Oscar M.
 
Reply With Quote
 
 
 
 
Oliver Vukovics
Guest
Posts: n/a
 
      31st Jul 2006
Hi Oscar,

select the Calendar for the new appointment => In Outlook under:
File/New/Date

create the new date and in the selected calendar you will get the
appointment. In my shared Outlook it works.

--
Oliver Vukovics
Share Outlook without Exchange: Public ShareFolder
Share your contacts, calendars or e-mails
http://www.publicshareware.com


"OscarM" <(E-Mail Removed)> schrieb im Newsbeitrag
news:FDA075B2-67A3-4118-9199-(E-Mail Removed)...
> I'm wondering if there is a way to specify what calendar the oppointment
> is
> created in?
>
> There are three public calendars, and I want to specify in what calendar I
> create an appointment.
>
> Thanks,
> Oscar M.



 
Reply With Quote
 
=?Utf-8?B?T3NjYXJN?=
Guest
Posts: n/a
 
      31st Jul 2006
Hi Oliver, thanks for your response. But I'm doing this through VB code.

This is the code:

Dim objOutlook As Outlook.Application
Dim objAppt As Outlook.AppointmentItem
Dim objRecurPattern As Outlook.RecurrencePattern
Set objOutlook = CreateObject("Outlook.Application")
Set objAppt = objOutlook.CreateItem(olAppointmentItem)
...


What I would like to know is if there is a way to specify the calendar to be
updated.


Thanks.
Oscar M.






"Oliver Vukovics" wrote:

> Hi Oscar,
>
> select the Calendar for the new appointment => In Outlook under:
> File/New/Date
>
> create the new date and in the selected calendar you will get the
> appointment. In my shared Outlook it works.
>
> --
> Oliver Vukovics
> Share Outlook without Exchange: Public ShareFolder
> Share your contacts, calendars or e-mails
> http://www.publicshareware.com
>
>
> "OscarM" <(E-Mail Removed)> schrieb im Newsbeitrag
> news:FDA075B2-67A3-4118-9199-(E-Mail Removed)...
> > I'm wondering if there is a way to specify what calendar the oppointment
> > is
> > created in?
> >
> > There are three public calendars, and I want to specify in what calendar I
> > create an appointment.
> >
> > Thanks,
> > Oscar M.

>
>
>

 
Reply With Quote
 
Sue Mosher [MVP-Outlook]
Guest
Posts: n/a
 
      31st Jul 2006
To create a new instance in a non-default folder programmatically, use the Add method on the target folder's Items collection:

Set newItem = targetFolder.Items.Add("IPM.Appointment")

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.

FYI, there is a newsgroup specifically for general Outlook programming issues "down the hall" at microsoft.public.outlook.program_vba or, via web interface, at http://www.microsoft.com/office/comm...ok.program_vba

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

"OscarM" <(E-Mail Removed)> wrote in message news:386A81B4-46F4-433B-9E0E-(E-Mail Removed)...
> Hi Oliver, thanks for your response. But I'm doing this through VB code.
>
> This is the code:
>
> Dim objOutlook As Outlook.Application
> Dim objAppt As Outlook.AppointmentItem
> Dim objRecurPattern As Outlook.RecurrencePattern
> Set objOutlook = CreateObject("Outlook.Application")
> Set objAppt = objOutlook.CreateItem(olAppointmentItem)
> ...
>
>
> What I would like to know is if there is a way to specify the calendar to be
> updated.
>
>
> Thanks.
> Oscar M.
>
>
>
>
>
>
> "Oliver Vukovics" wrote:
>
>> Hi Oscar,
>>
>> select the Calendar for the new appointment => In Outlook under:
>> File/New/Date
>>
>> create the new date and in the selected calendar you will get the
>> appointment. In my shared Outlook it works.
>>
>> --
>> Oliver Vukovics
>> Share Outlook without Exchange: Public ShareFolder
>> Share your contacts, calendars or e-mails
>> http://www.publicshareware.com
>>
>>
>> "OscarM" <(E-Mail Removed)> schrieb im Newsbeitrag
>> news:FDA075B2-67A3-4118-9199-(E-Mail Removed)...
>> > I'm wondering if there is a way to specify what calendar the oppointment
>> > is
>> > created in?
>> >
>> > There are three public calendars, and I want to specify in what calendar I
>> > create an appointment.
>> >
>> > Thanks,
>> > Oscar M.

>>
>>
>>

 
Reply With Quote
 
=?Utf-8?B?T3NjYXJN?=
Guest
Posts: n/a
 
      31st Jul 2006
Thanks for your help!

I just put a post on that newsgroup. Sorry.



"Sue Mosher [MVP-Outlook]" wrote:

> To create a new instance in a non-default folder programmatically, use the Add method on the target folder's Items collection:
>
> Set newItem = targetFolder.Items.Add("IPM.Appointment")
>
> 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.
>
> FYI, there is a newsgroup specifically for general Outlook programming issues "down the hall" at microsoft.public.outlook.program_vba or, via web interface, at http://www.microsoft.com/office/comm...ok.program_vba
>
> --
> 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
>
> "OscarM" <(E-Mail Removed)> wrote in message news:386A81B4-46F4-433B-9E0E-(E-Mail Removed)...
> > Hi Oliver, thanks for your response. But I'm doing this through VB code.
> >
> > This is the code:
> >
> > Dim objOutlook As Outlook.Application
> > Dim objAppt As Outlook.AppointmentItem
> > Dim objRecurPattern As Outlook.RecurrencePattern
> > Set objOutlook = CreateObject("Outlook.Application")
> > Set objAppt = objOutlook.CreateItem(olAppointmentItem)
> > ...
> >
> >
> > What I would like to know is if there is a way to specify the calendar to be
> > updated.
> >
> >
> > Thanks.
> > Oscar M.
> >
> >
> >
> >
> >
> >
> > "Oliver Vukovics" wrote:
> >
> >> Hi Oscar,
> >>
> >> select the Calendar for the new appointment => In Outlook under:
> >> File/New/Date
> >>
> >> create the new date and in the selected calendar you will get the
> >> appointment. In my shared Outlook it works.
> >>
> >> --
> >> Oliver Vukovics
> >> Share Outlook without Exchange: Public ShareFolder
> >> Share your contacts, calendars or e-mails
> >> http://www.publicshareware.com
> >>
> >>
> >> "OscarM" <(E-Mail Removed)> schrieb im Newsbeitrag
> >> news:FDA075B2-67A3-4118-9199-(E-Mail Removed)...
> >> > I'm wondering if there is a way to specify what calendar the oppointment
> >> > is
> >> > created in?
> >> >
> >> > There are three public calendars, and I want to specify in what calendar I
> >> > create an appointment.
> >> >
> >> > Thanks,
> >> > Oscar M.
> >>
> >>
> >>

>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
BCM - Can I use it to create client-specific appointment cards? allanc45 Microsoft Outlook BCM 0 22nd Jun 2009 08:39 AM
how to open a Outlook calendar appointment of a specific day =?Utf-8?B?c3BrMmJydWNl?= Microsoft Access VBA Modules 0 10th Sep 2007 07:56 PM
Re: Create an Appointment in a Specific Folder Sue Mosher [MVP-Outlook] Microsoft Outlook VBA Programming 0 18th Dec 2006 03:01 PM
Can't create new calendar appointment. Nothing happens! =?Utf-8?B?S2Vycnk=?= Microsoft Outlook Calendar 3 15th Feb 2006 06:20 PM
add an appointment in a specific calendar in Outlook Michel Lévy Microsoft Outlook VBA Programming 2 14th Apr 2005 08:11 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:45 AM.