I have a worksheet where I want to fill down the entire while the result of column B's fill down is nonempty. Column B contains the links to other workbooks that are updated routinely. Thus if column B is nonempty, I can proceed to the rest of the macro.
In other words, I am trying to fill down column B first, and if it's nonempty, I will fill down the entire row.
While Range("b1048575").End(xlUp).FillDown <> 0
Range("a1048575").End(xlUp).offset(0, 200).Select
Selection.FillDown
Wend
However, the condition in the while loop results in the program halting.
I thought of ways where I'd fill down the row anyways and check column B, and if it's empty, delete the row and get out of the loop.
I am wondering if there is a more efficient approach here.
Feel free to critique my code (I don't think the use of a1048575 is very "professional").