Hello,
I am new to writing VBA, can you tell me the basic relationship between for & next? in this example i don't uderstand why i am being told "for without next" If too busy to explain this, can you suggest somewhere i could read about it?
Sub test()
For i = 1 To i = 5000: For X = 1 To X = 50
Cells(i, X) = Cells(i, X)
Next
End Sub
Many Thanks
Tom M
I am new to writing VBA, can you tell me the basic relationship between for & next? in this example i don't uderstand why i am being told "for without next" If too busy to explain this, can you suggest somewhere i could read about it?
Sub test()
For i = 1 To i = 5000: For X = 1 To X = 50
Cells(i, X) = Cells(i, X)
Next
End Sub
Many Thanks
Tom M