Parameters
- srcRange
- An A1-style notation address indicates the data source.
- tableHasHeaders
- An YesNoGuess constant that indicates whether the data has column labels. If the source range does not contain headers, Spread will automatically generate headers. Default value: YesNoGuess.Guess.
- tableStyle
- A string value indicates the table style. Default value is TableStyleMedium2.
- name
- A string value indicates the table name. If you won't provide, table name will be generated automatically.
Return Value
A Table value represents the created table.
null
if the table cannot be created.