I am a beginner learning by doing / learning by web search. My current need has a lot of near misses posted but I can't find the solution I need. I will try to be specific:
I need a simple macro to, starting at the right edge of a single row range ( B2:F2) that is defined in the solution you post, search leftward cell by cell until a non-blank cell is encountered, then select the cell to the right of it.
If the rightmost cell in the range is non-blank, returns an error message
If no non-blank cells are encountered in the range, select the leftmost cell in the range
stop
Thank you!
I need a simple macro to, starting at the right edge of a single row range ( B2:F2) that is defined in the solution you post, search leftward cell by cell until a non-blank cell is encountered, then select the cell to the right of it.
If the rightmost cell in the range is non-blank, returns an error message
If no non-blank cells are encountered in the range, select the leftmost cell in the range
stop
Thank you!