'Declaration
Public Shared Function Create( _ ByVal worksheet As Worksheet, _ ByVal range As Reference, _ ByVal hasHeader As YesNoGuess, _ ByVal tableStyleName As String, _ Optional ByVal clearFormatting As Boolean _ ) As TableActionsCommand
'Usage
Dim worksheet As Worksheet Dim range As Reference Dim hasHeader As YesNoGuess Dim tableStyleName As String Dim clearFormatting As Boolean Dim value As TableActionsCommand value = TableActionsCommand.Create(worksheet, range, hasHeader, tableStyleName, clearFormatting)
public static TableActionsCommand Create( Worksheet worksheet, Reference range, YesNoGuess hasHeader, string tableStyleName, bool clearFormatting )
Parameters
- worksheet
- Target worksheet.
- range
- Cell range.
- hasHeader
- Determines the new table has headers or not.
- tableStyleName
- Name of style applied to the new table.
- clearFormatting
true
for clear formatting andfalse
for otherwise.
Return Value
A command to create table.