Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

XL.Sheet.SetTabColorRGB

Sets the RGB 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.SetTabColorRGB"; bookRef; sheetIndex; Red; Green; Blue )   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
Red The red color value.
Range 0 to 255.
0
Green The green color value.
Range 0 to 255.
0
Blue The blue color value.
Range 0 to 255.
0

Result

Returns OK or error.

Description

Sets the RGB color for the sheet's tab.

See also

Release notes

Blog Entries

This function checks for a license.

Created 22nd April 2017, last changed 22nd April 2017


XL.Sheet.SetTabColor - XL.Sheet.SetTopLeftView