Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
This works perfectly:
Sub HideZeroRows() 'to hide calculated items that equal zero 'hide worksheet rows that contain zeros 'by John Green Dim rRow As Range Application.ScreenUpdating = False For Each rRow In ActiveSheet _ .PivotTables(1).DataBodyRange.Rows If Application.Sum(rRow) = 0 Then rRow.EntireRow.Hidden = True End If Next rRow Application.ScreenUpdating = True End Sub There is a Macro that will **If no rows are hidden - Run the Macro and If Rows Are hidden UnHide All Rows. But how is this done? Any assistance appreciated.. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
toggle radio button | Excel Discussion (Misc queries) | |||
Toggle Button | Excel Worksheet Functions | |||
Toggle Button | Excel Discussion (Misc queries) | |||
Toggle button | Excel Discussion (Misc queries) | |||
Toggle Button | Excel Discussion (Misc queries) |