StaGetVarName

StaGetVarName is used to retrieve the name of a variable within a spreadsheet. To perform this operation in Statistica's COM library, simply call:
 

Programming Language

Example

Visual Basic

'assuming "Spr" is a spreadsheet
MsgBox
Spr.Variable(1).ColumnName

C++

'assuming "pSpreadsheet" is a pointer to a spreadsheet
::MessageBox(NULL, pSpreadSheet->GetVariableName(1), NULL, NULL);

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.