Hello Diane.
I know this is an old post, but I'm new to this forum. I am trying to copy all new appointments from a shared Calendar to a SharePoint calendar I have imported into Outlook. Can you help? I don't have a lot of experience with code. My experience is limited to copy/paste.
Any help is appreciated.
You'll change the two lines that identify the calendars to reference the correct calendar:
Set curCal = NS.GetDefaultFolder(olFolderCalendar).Items
' calendar moving copy to
Set newCalFolder = GetFolderPath("data-file-name\calendar")
is the sharepoint calendar synced? if so, you'd use the same line above for the 'calendar moving copy' - you need the getfolderpath function.
on the shared calendar, you need to use the method at
Working with VBA and non-default Outlook Folders (the getfolderpath function is also on that page)