Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
XL.Table.SetColumnName
Sets the unique name of the table column with the specified index.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
XL | 15.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "XL.Table.SetColumnName"; BookRef; SheetIndex; TableIndex; columnIndex; Value ) More
Parameters
Parameter | Description | Example |
---|---|---|
BookRef | The reference to the workbook. Please use XL.LoadBook to load a file. | $ref |
SheetIndex | The index of the sheet. This number ranges from 0 to XL.Book.SheetCount-1. | 0 |
TableIndex | The name of the table or the zero based index. | 0 |
columnIndex | The zero based column index. | 0 |
Value | The new name. |
Result
Returns OK or error.
Description
Sets the unique name of the table column with the specified index.Please note that if you write the name of the column with the XL.Sheet.CellWriteText function, the workbook will be corrupted, because the XL.Sheet.CellWriteText function doesn't check if the specified cell belongs to a table.
See also
This function checks for a license.
Created 5th April 2025, last changed 5th April 2025
