I am not sure where to start with the programming. I have a column of Excel data that has non-consecutive zeros distributed in the array. I want to build another column of data by selecting the number immediately before the zeros. Here is a sample data set (I want to pick out 1, 4, and 6):
    5
    1
    0
    4
    0
    820
    4
    6
    0
    74
    Sub Cat()   
     
          Range("V12").Select
    
          Do Until IsEmpty(ActiveCell)
    
             ActiveCell.Offset(1, 0).Select
          Loop
       
    End Sub
 
     
     
    