CustomViews.Add(String, Object, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new custom view. Returns a CustomView object that represents the new view.
public Microsoft.Office.Interop.Excel.CustomView Add (string ViewName, object PrintSettings, object RowColSettings);
Public Function Add (ViewName As String, Optional PrintSettings As Object, Optional RowColSettings As Object) As CustomView
Parameters
- ViewName
- String
Required String. The name of the new view.
- PrintSettings
- Object
Optional Object. True to include print settings in the custom view.
- RowColSettings
- Object
Optional Object. True to include settings for hidden rows and columns (including filter information) in the custom view.