I have a table of numbers with two columns, the lower number is on the left and the higher is on the right. I need a code which goes through each row and prints every number between column A and B including the start and end point. After printing those it needs to go to the next row and repeat the process.
I tried looking online but can't get any help
Sub Values_between_dates()
Application.ScreenUpdating = False
Dim rng As Range
Dim row As Range
Dim cell As Range
Set rng = Range("z3:AA11")
For Each row In rng.Rows
For Each cell In row.Cells
cell = numone
Print numone.Range("AB3")
Next cell
cell = "numtwo"
Range("AC3").Select
Range("AC3") = numone
numone = numone + 1
Do While numone < Format(numtwo + 1, "00000000000")
ActiveCell.Offset(1, 0).Range("A1").Select
ActiveCell.Value = numone
numone = Format(numone + 1, "00000000000")
Loop
Next row
End Sub