Hello,
I like to increase the column letter or number in VBA. But none of the code I tried work.
I like to do:
For i = 15 To 196
For j = 15 To 196
if Workbooks(Myname2).Sheets("training").Range(i & "15")= Workbooks(Myname2.Sheets("training").Range(j & "15") Then
Workbooks(Myname2).Sheets("training").Range(i & "15", i & opend).copy
Workbooks(Myname).Sheets("training").Range(j & "15", j & opend).paste
end if
Next
Next
I think you understood that the i and j represent column O to GW. So How can i write that?
Many thanks
Thomas
I like to increase the column letter or number in VBA. But none of the code I tried work.
I like to do:
For i = 15 To 196
For j = 15 To 196
if Workbooks(Myname2).Sheets("training").Range(i & "15")= Workbooks(Myname2.Sheets("training").Range(j & "15") Then
Workbooks(Myname2).Sheets("training").Range(i & "15", i & opend).copy
Workbooks(Myname).Sheets("training").Range(j & "15", j & opend).paste
end if
Next
Next
I think you understood that the i and j represent column O to GW. So How can i write that?
Many thanks
Thomas