Hi,
I wanted to know if there's a way to do a loop meanwhile I have some filters applied in the sheet. I want to repeat the same macro until the active cell is not blank. If the active cell is blank stop the loop. Otherwise repeat the macro only for active cells.
Here you have what I tried, the first option doesn't have the capability to let the code understand that offset to next row has to be in the next visible cell only.
The second code will do the loop only for visible cells but whenever a cell is blank the debug message is stopping the code with an error.
![]()
ActiveCell.Offset(1, 0).Select Do Until IsEmpty(ActiveCell.Value) Call No_Clear_Experience Loop Do Until ActiveCell.Offset(1, 0).SpecialCells(xlCellTypeVisible).Select If Active.cell.Value = " " Then Exit Do Call Useful_Yes Loop
Bookmarks