CalendarView.Copy (Outlook)

Creates a new View object based on the existing CalendarView object.

Copy (Name, SaveOption)


Dim strName As String: strName = 
Dim vwCopy As View
Set vwCopy = Session.CreateSharingItem.Move.Views(1).Copy(Name:=strName)

Arguments

The following argument is required

Name (String) - The name of the new view.

Optional arguments

The following argument is optional

SaveOption (OlViewSaveOption) - The save option for the new view.

Possible return values are olViewSaveOptionAllFoldersOfType - Indicates that the view is available in all folders of the same type, olViewSaveOptionThisFolderEveryone - Indicates that the view is only available in the current folder and is available to all users, olViewSaveOptionThisFolderOnlyMe - Indicates that the view is only available in the current folder and is only available to the current Outlook user.