Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm trying to make the line
For Each r In Worksheets("data").Range("A2:A25000") not evaluate blank cells by counting the number of populated cells using For Each r In Worksheets("data").Range("A2:A" & WorksheetFunction.CountA(Data!A2:A25000)) But when I do that, I get runtime error 1004. What is the correct way to phrase that? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Newbie: Problem with 'Select Case' testing syntax | Excel Programming | |||
Newbie: How to get another range? | Excel Programming | |||
Newbie syntax question | Excel Programming | |||
subscript out of range (newbie) | Excel Programming | |||
Proper Syntax Sought For NewBie Excel Programmer | Excel Programming |