Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
moving a "count" range
I'm creating a macro where my count() range changes by 1 everyday. For
example, on day 1, my count range would be =count(a1:a30). On day 2 my range would be =count(a2:a31), day 3 would be (a3:a32) and so on. So far I think it may look something like: Range("J20").Select ActiveCell.FormulaR1C1 = "=COUNT(R[9]C[2]:R[13]C[2])" Range("J21").Select only much better, with a +1 in there somewhere... Any ideas? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Create Pivot Table Data with Column "Sum" rather than "count" defa | Excel Discussion (Misc queries) | |||
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next | New Users to Excel | |||
use variable in Workbooks("book1").Worksheets("sheet1").Range("a1" | Excel Programming | |||
Range("Weekending").Cells.Columns.Count | Excel Programming | |||
Moving between "row" and "range" formats in VBA | Excel Programming |