Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a spreadsheet containing over 10K-30K rows of data. I need to provide
some calculation at a set of user defined criteria at runtime of macros. I currently use the following 2 structions to filter out a set of data (rows) based on 2 user defined criteria: AccountID and ProjectName. I'll then sum up values on different columns as shown below: Selection.AutoFilter Field:=1, Criteria1:=AccountID Selection.AutoFilter Field:=3, Criteria1:=ProjectName range("A2").select ACWP=0 Do While Not IsEmpty(ActiveCell) ActiveCell.offset(1, 0).Select If ActiveCell.RowHeight < 0 Then acwp = acwp + ActiveCell.Offset(0,5).Value endif Loop Other than using "If ActiveCell.RowHeight < 0 Then" statement to go one row at a time (including this hidden rows as result of autofilter). which is quite time consuming. Questin: Is there a faster method that will allow me just to look at rows show up as result of AutoFiler ? Thanks in advance for any suggestion. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Autofiler issue | Excel Discussion (Misc queries) | |||
Protect Autofiler Column | Excel Discussion (Misc queries) | |||
Scan from a document to excel with separate cells | Excel Discussion (Misc queries) | |||
autofiler disabled | Excel Discussion (Misc queries) | |||
Scan and copy cells from one spreadsheet to another. | Excel Discussion (Misc queries) |