Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
XL.Sheet.SetTabColor
Sets the color for the sheet's tab.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
XL | 7.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "XL.Sheet.SetTabColor"; BookRef; SheetIndex; Color ) 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 |
Color | The color value to use. |
Result
Returns OK or error.
Description
Sets the color for the sheet's tab.See also
- XL.Book.SheetCount
- XL.LoadBook
- XL.Sheet.GetTabColor
- XL.Sheet.GetTabColorRGB
- XL.Sheet.SetColPx
- XL.Sheet.SetTabColorRGB
Release notes
- Version 9.1
- Fixed problem with XL.Sheet.SetTabColorRGB function.
This function checks for a license.
Created 22nd April 2017, last changed 22nd April 2017
