PdcCalculation.Children: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
== Description == | == Description == | ||
Returns the CalculationList object. | |||
== Notes == | == Notes == | ||
This | This property returns the CalculationList object for the subcalculations of the calculation object. | ||
== Code example == | == Code example == | ||
This code | This code example loops through the subcalculations of a calculation and returns the description. | ||
<source lang="vb"> | <source lang="vb"> | ||
dim | dim objCalc | ||
dim | dim objSubCalc | ||
dim intCount | |||
set objCalc = pdc.ActiveCalculation | |||
set | |||
for intCount = 0 to objCalc.Children.Count -1 | |||
set objSubCalc = objCalc.Children(intCount) | |||
msgbox objSubCalc.Description | |||
next | |||
msgbox | |||
</source> | </source> | ||
== Availability == | == Availability == | ||
Latest revision as of 10:36, 23 April 2012
Declaration
Children as pdcCalculationList
Description
Returns the CalculationList object.
Notes
This property returns the CalculationList object for the subcalculations of the calculation object.
Code example
This code example loops through the subcalculations of a calculation and returns the description.
dim objCalc
dim objSubCalc
dim intCount
set objCalc = pdc.ActiveCalculation
for intCount = 0 to objCalc.Children.Count -1
set objSubCalc = objCalc.Children(intCount)
msgbox objSubCalc.Description
next