I have this simple vba,
Private Sub CommandButton7_Click()
Range ("F1:F100").Value=Time
End Sub
As you already know, this will insert the current time in cells from F1 to F100(all at once) whenever I click the button once.
However, I want to insert time in each cells for each click. If I click the button first time, only f1 should be filled in. The second click should fill in f2 only because the previous cell is empty and so on and so forth.
I am not sure if it should be done in loop but I was unable to find references. I am trying to find a simpler code to achieve this.