Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Save Method
Collapse the table of content
Expand the table of content

View.Save Method (Outlook)

Saves the view, or saves the changes to a view.

expression .Save

expression A variable that represents a View object.

Always use Save to save a view after you change any property of the view.

The following VBA example creates a new view called New Table and applies it.

Sub CreateView() 
 
 'Creates a new view 
 
 Dim objName As Outlook.NameSpace 
 
 Dim objViews As Outlook.Views 
 
 Dim objNewView As Outlook.View 
 
 
 
 Set objName = Application.GetNamespace("MAPI") 
 
 Set objViews = objName.GetDefaultFolder(olFolderInbox).Views 
 
 Set objNewView = objViews.Add(Name:="New Table", _ 
 
 ViewType:=olTableView) 
 
 objNewView.Save 
 
 objNewView.Apply 
 
End Sub

Concepts

Other resources

Show:
© 2015 Microsoft