|
-
Feb 13th, 2012, 09:11 PM
#1
Thread Starter
New Member
[RESOLVED] Counting non-blank cells in constantly changing range
I've been using the following code to count the number of employees that participated in a particular job task:
NumOfWorkers = Application.CountA(Sheets("Paycard").Range("F3:K3")
I need to know if it's possible with this function to now set the "Range" portion of it to a constantly changing set of variables? What is the syntax?
For example, as I adjust the variable 'currentrow' plus one after each loop, I need to know the NEW number of workers for that particular row, not just row 3.
Make sense? Help?
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
|