Top10.CalcFor 屬性 (Excel)Top10.CalcFor property (Excel)

會傳回或設定**XlCalcFor** 列舉,指定應該評估在樞紐分析表報表中的條件化格式的方式的常數之一。Returns or sets one of the constants of the XlCalcFor enumeration, which specifies how the conditional format in a PivotTable report should be evaluated.

語法Syntax

運算式CalcForexpression.CalcFor

_運算式_代表**Top10** 物件的變數。expression A variable that represents a Top10 object.

註解Remarks

只有將條件化格式套用到樞紐分析報表資料時,才能使用此屬性。This property is applicable only when the conditional format is being applied to data in a PivotTable report.

ScopeType 屬性設定為xlFieldsScope時,才,此屬性可以設定為xlAllValuesxlColGroupsxlRowGroupsThis property can be set to xlAllValues, xlColGroups, or xlRowGroups only if the ScopeType property is set to xlFieldsScope.

支援和意見反應Support and feedback

有關於 Office VBA 或這份文件的問題或意見反應嗎?Have questions or feedback about Office VBA or this documentation? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.