Use the Views collection's Add method to create a view. The Add method accepts four arguments. The Name argument is a string that specifies the name of the new view. Finally, the SaveOption argument accepts an enumerated constant of type OlViewSaveOption that specifies the options associated with accessing the view. The view can be accessed in all folders of this type.
All users can access the view.
This view is available to this folder only. The view can be accessed in this folder only. Only the current user can access this view. The following example creates a new view. The function accepts the view's name, location, and type as arguments, and creates a new view that is available in the specified folder to all users.