StaGetVarLabelByIndex is used to retrieve the text label within a spreadsheet by index. There is not a direct function call in Statistica's COM library for ; however, the following example will emulate this functionality:

Programming Language


Visual Basic

'assuming "Spr" is a spreadsheet
Values() As Double

Dim Labels() As String

Dim Descriptions() As String

Spr.VariableTextLabels _

Dim TextLabel2 As String

TextLabel2 = Labels(1)

See also Migrating from StaDev to Statistica's COM architecture for a comprehensive list of all StaDev32 functions that can be migrated to Statistica's COM library.