SearchView.Copy (Outlook)

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

Optional arguments

The following argument is optional

SaveOption - OlViewSaveOption

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.