|
-
Feb 14th, 2012, 08:56 AM
#3
Thread Starter
New Member
Re: Counting non-blank cells in constantly changing range
 Originally Posted by westconn1
try like
vb Code:
NumOfWorkers = Application.CountA(Sheets("Paycard").Range("F3:K" & rw)
where rw is your row variable
Definitely appreciate the input, but that route doesn't get the job done.
.Range("F" & rw:"K" & rw) returns a compile error.
As does a whole set of combinations like:
.Range(""F" & rw: "K" & rw"")
I need to be able to change the row variable for both sides of the range.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|