Here's my problem: I'm trying to run a loop over a specific set of data, where the amount changes with each update. If the score is >0, then it will cut/paste the specific row in columns A,B&C in the next available free row in the sheet data. This is what I have up till now:
Sub whatever()
Dim score As Integer, sStart As Integer, sTeller As Integer, lcount As Integer, result As String
sStart = Sheets("Packed").Range("F1").Value
sTeller = Sheets("Packed").Range("E1").Value
lcount = sStart
score = Range("B& lcount").Value
Do While lcount < sTeller
Sheets("Packed").Select
If score > 0 Then _
Range("A&lcount:C&lcount").Select
Selection.Cut
Sheets("data").Select
Range("A5").Select
Selection.End(xlDown).Select
Selection.Offset(1, 0).Select
ActiveSheet.Paste
lcount = lcount + 1
Loop
End Sub
What I would like is that VBA adds the "lcount" to the rowlabel and then loops it for each row in B where there is data. Thanks in advance :)