I'm tying to write a macro program for an Excel file but I dont know how to make "Ox" instead of "O3" !
Sub Macro1()
'
' Macro1 Macro
'
' Keyboard Shortcut: Ctrl+o
'
l = 50
For x = 1 To l
Range("O3").Select
Selection.Copy
Range("A3").Select
ActiveSheet.Paste
Next x
End Sub
Copyright © 2024 Q2A.ES - All rights reserved.
Answers & Comments
Range("O" & x + 2).Select
or
Cells(x+2,15).select