編輯

共用方式為


CustomViews.Add(String, Object, Object) Method

Definition

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.

Returns

Applies to