VB Problem : How to write a variable inside a character?

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

Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Helpful Social

Copyright © 2024 Q2A.ES - All rights reserved.