Item Method (CalculatedItems Collection) Example

This example hides calculated item one.

Worksheets(1).PivotTables(1).PivotFields("year") _
    .CalculatedItems.Item(1).Visible = False