View.Reset Method
Outlook Developer Reference |
Resets a built-in Microsoft Outlook view to its original settings.
Syntax
expression.Reset
expression A variable that represents a View object.
Remarks
This method works only on built-in Outlook views.
To properly reset the current view, you must do a View.Reset and then a View.Apply. The code sample below illustrates the order of the calls:
Visual Basic for Applications |
---|
|
Example
The following Microsoft Visual Basic/Visual Basic for Applications (VBA) example resets all built-in views in the user's Inbox to their original settings. The Standard property is returned to determine if the view is a built-in Outlook view.
Visual Basic for Applications |
---|
|
See Also