EssSetStyle([workbookName]sheetName, styleType, dimName, item, newValue)
Where [workbookName]sheetname is the text name of the workbook and worksheet to perform the action.
styleType specifies the style setting you want to set, as shown in Table 36.
dimName is the dimension name if styleType is 0; otherwise this parameter should be set to Null.
item is the style you want to set.
newValue contains the setting of item, as shown in Table 37.
Foreground and background colors are shown in Table 38.
This example sets the style for child members to italic and displays the style in the spreadsheet.
=EssSetStyle("[Sample.xls]Sheet1",1,,5,TRUE) =EssSetStyle("[Sample.xls]Sheet1",1,,1,TRUE)