Analysis.CaseWeight
This property returns the case weight of the analysis.
This property is read only.
| Syntax | Return Value |
|---|---|
| - | CaseWeight |
SVB Example
Customizing the case weight options for an analysis:
Option Base 1
Option Explicit
Sub Main
'enable case weight for the current analysis
ActiveAnalysis.CaseWeight.Enabled = True
'set the case weight source to scCWSourceLocal
'specified weights will be used in the current
'analysis only, not saved to the input spreadsheet
ActiveAnalysis.CaseWeightSource = scCWSourceLocal
'Note how the Weights button is now enabled
ActiveAnalysis.Visible = True
End Sub