Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-13-2020, 09:41 PM
Sharky12345 Sharky12345 is offline Update non default calendar Windows 10 Update non default calendar Office 2013
Novice
Update non default calendar
 
Join Date: Oct 2020
Posts: 2
Sharky12345 is on a distinguished road
Default Update non default calendar

I'm using this to add a new appointment to a non-default calendar in a shared mailbox but I am struggling to find a way to update the appointment once it's been added, if someone can assist please?

Code:
CalendarFolder = "SHARED MAILBOX NAME HERE"

'Create today
Dateofcheck = Format(Now, "dd/mm/yy")
With CreateObject("outlook.Application").GetNamespace("MAPI").Folders(CalendarFolder).Folders("SPECIFIC CALENDAR NAME HERE").Items.Add(olAppointmentItem)
.Start = Date    '"06/10/2020 22:00"
.Subject = "CHECKS IN PROGRESS"
.Categories = "CHECKS IN PROGRESS"
.AllDayEvent = True
.ReminderSet = False
.Save
End With

Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Room calendar in Outlook 2016 copying default calendar Leonard Hatred Outlook 0 07-28-2016 09:10 AM
Update non default calendar Update to calendar invite not showing on organizer's calendar jnchin Outlook 1 08-09-2014 10:55 AM
Calendar default view ReviTULize Outlook 0 02-29-2012 03:22 PM
Update non default calendar Make Exchange calendar the default calendar the-ninth Outlook 2 11-03-2010 10:41 PM
Can't get to my calendar since it's not the default user TraderViccc Outlook 1 08-06-2010 05:08 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:51 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft