First let me say that I'm a novice at VBA.
I have a function called ColorCheck3 that looks at the referenced cell below it and returns a text string. I call it out by putting in cell A1 "=ColorCheck3(A2). It works fine until I start filtering (hiding) the rows below it.
I have another function called NextVis that correctly finds the next visible row below it. I call it out by putting in cell A1 "=NextVis(A2)". As I hide the rows below 1 it properly detects the next visible cell in column A.
I've been trying in vain to use NextVis to get ColorCheck3 to look at the next visible cell below it. Here's my code:
Moderator's note: Please take the time to review our rules. There aren't many, and they are all important. Rule #3 requires code tags. I have added them for you this time because you are a new member. --6StringJazzerPlease Login or Register to view this content.
Is there a way to get ColorCheck3 to use NextVis as it range? Or am I just going about this in the completely wrong way?
Thanks in advance for any help.
Bookmarks