I am very new to Excel VBA coding and have been having a hard time trying to figure out a code that will let me repeat my code on the next row until it comes blank.
I am trying to get the next value in the data worksheet after cell A7, so it is A8 and repeat the macro until I reach a blank cell.
Sheets("data").Select
Range("A7").Select
Selection.Copy
Sheets("CODING BLOCK").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("CODING BLOCK").Select
Application.CutCopyMode = False
Sheets("CODING BLOCK").Copy Before:=Sheets(1)
ActiveSheet.Select
ActiveSheet.Name = ActiveSheet.Range("L1")
Any guidance in the right direction would be greatly appreciated.