Trying to copy one value into the end of one populated column.
The simple structure of the column is filled with random numbers and looks like this without empty cells inbetween.
11
12
23
45
The function should find the next available empty cell in that column and adds a value at the end of that column. And it then should stop. Mine doesn't stop and populates the entire column.
Sub FindNextEmptyCell()
If IsEmpty(Range("A:A")) Then
Range("A:A") = Sheets("Test").Range("A1").Value
End If
End Sub