I am trying to figure out a VBA to select range of cells in same row based on a value in a cell.
Example: let's say A1 cell has "5" as the cells value then it will select the 5 adjacent cells (B1:F1) and enter "OK" to those 5 cells Then then VBA will keep checking A2 on wards for value n do the same as above but if it found first blank cell in column A then the VBA stop
Bookmarks