Function StaCrossTab.Flatten( _
InSpread As Object, _
Vars As Variant, _
DestName As String, _
CodeName As String, _
Optional OmitMissing As Boolean = True, _
Optional CreateCodeVariableAsText As Boolean = False, _
Optional selectionIncludeExpression As String = "", _
Optional selectionIncludeList As String = "", _
Optional selectionExcludeExpression As String = "", _
Optional selectionExcludeList As String = "", _
Optional Interleave As Boolean = True, _
Optional nSeries As Integer = 1, _
Optional CopyUnstacked As Boolean = True, _
Optional seperateOutputVariablesByType As Boolean = False, _
Optional createOutputVariablesOfAllTypes As Boolean = False) As Object
|
The spreadsheet to stack.
Type: Object
The variables to stack (combine).
Type: Variant
The name of the output variable that will hold the values from the stacked variables.
Type: String
The name of the output variable holding the codes (i.e., the names of the stacked variables).
Type: String
- OmitMissing [in,optional]
Whether or not cases with missing data should be removed from the output.
Type: Boolean
Default value: True
- CreateCodeVariableAsText [in,optional ]
Whether the code variable should be a text variable (instead of using text labels).
Type: Boolean
Default value: False
- selectionIncludeExpression [in,optional ]
The case selection expression to specify which cases to include in the output.
Type: String
Default value: ""
- selectionIncludeList [in,optional]
The case selection list to specify which cases to include in the output.
Type: String
Default value: ""
- selectionExcludeExpression [in,optional]
The case selection expression to specify which cases to exclude in the output.
Type: String
Default value: ""
- selectionExcludeList [in,optional]
The case selection list to specify which cases to exclude in the output.
Type: String
Default value: ""
Whether to stack the cases as they are ordered in the original spreadsheet. Set to False to stack the output by the groups in the Code variable.
Type: Boolean
Default value: True
Set this to have groups of stacked output rather than a single stacked variable. The series count denotes the number of variables present in each stacking series. Variables are ordered sequentially based on the selection from the variable selection dialog. If the series count cannot evenly divide into the total number of selected variables then the last stacking group will have fewer output variables and be padded with missing data.
Type: String
Default value: ""
- CopyUnstacked [in,optional]
Whether the unstacked variables should be included in the output.
Type: Boolean
Default value: True
- seperateOutputVariablesByType [in,optional]
If set to True, multiple variable types will be created in the output file, one per input variable type (double, integer, byte, text, or date).
Type: Boolean
Default value: False
- createOutputVariablesOfAllTypes [in,optional]
If set to True, all possible output variable types (double, text, integer, byte, and date) will be created in the output. Thus the number of variables and their order is predictable and consistent.
Type: Boolean
Default value: False
|
Object
|