Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
can somebody provide me with an answer as to why the following function
returns an error on the if line? the error message is "object required" Function countrecords() as integer Dim count As Integer count = 0 For Each cell In Worksheets("Saved Records").Range("A1:A500") If cell.Value Is Not Null Then count = count + 1 End If Next cell countrecords = count End Function |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Counting Records Between Two Dates | Excel Worksheet Functions | |||
Counting records f(x) two columns | Excel Discussion (Misc queries) | |||
counting records | Excel Worksheet Functions | |||
Counting unique records | Excel Worksheet Functions | |||
Counting records | Excel Programming |