Hi could you please advise why the below code is not working? I would like to fill in the cells with "aaaa". I am VBA beginner and would appreciate if you provide some theorethical reference. Thank you
Sub aa()
Dim row As Integer
Dim col As Integer
For row = 1 To 20
For col = 1 To 20
Cells(row, col) = "aaaa"
Next row
Next col
End Sub
Next rowandNext colare mixed. And btw how exactlycode is not working?