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

Programming Language


Visual Basic

'assuming "Spr" is a spreadsheet
Spr.Variable(1).ColumnName = "Gauge Measurement"


'assuming "pSpreadsheet" is a pointer to a spreadsheet
pSpreadSheet->PutVariableName(1,"Gauge Measurement");

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.