SheetFormats.Add Method
Parent Object: SheetFormatsDescription
Method that creates a new SheetFormat. The newly created SheetFormat is returned.
Syntax
SheetFormats.Add( Sheet As Sheet, Name As String ) As SheetFormatParameters
Name | Type | Description |
Sheet | Sheet | Input Sheet object that specifies the sheet to be used as the template for creating the sheet format. |
Name | String | Input String that defines the name of the sheet format. The name must be unique with respect to all other SheetFormats in the document or an error will occur. |