
Originally Posted by
MannStewart
The only difference is Robert's latest code knew to stop and prompt the msgbox when no more blanks are found
Argh! Bad testing on my part. For the record, here is a modification to my code to handle this oversight on my part...
Interestingly, my new code is one code line shorter than my original submission.
NOTE: Regarding this part of what I quoted above... "and prompt the msgbox when no more blanks are found". Your original code used Column AV to determine where the last row was located. Just pointing out that my code used that also so that if there are blanks after the last value in Column AW that occur before the last row in Column AV, my code will visit those blanks... Robert appeared to take your statement at face value and does not look for blanks after the last value in Column AW. Based on your original code and what you wrote in your last message, I am not entirely sure which of our implementations actually meets your real requirement... something for you to check.
Bookmarks