Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Good morning all!
I wrote a simple function to calculate the values of all hidden cells in a range. It works fine, except that I have to edit the formula with [F2] and [Enter] before it displays the correct answer - otherwise, it just displays the result of the previous calculation. Can anyone help, please? Thanks in advance Pete Function SumHiddenRows(TheHiddenRange) Dim HiddenTotal As Long Dim HiddenCell As Range HiddenTotal = 0 For Each HiddenCell In TheHiddenRange If HiddenCell.EntireRow.Hidden = True Then HiddenTotal = HiddenTotal + HiddenCell.Value End If Next SumHiddenRows = HiddenTotal Calculate End Function |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Functions / Drop Downs won't calculate | Excel Worksheet Functions | |||
functions do not calculate correctly | Excel Worksheet Functions | |||
Logical functions to calculate points | Excel Worksheet Functions | |||
Formula & functions intermittently fail to calculate | Excel Worksheet Functions | |||
functions do not calculate | Excel Worksheet Functions |