ipbr21054
Well-known Member
- Joined
- Nov 16, 2010
- Messages
- 6,002
- Office Version
- 2024
- Platform
- Windows
Hi,
The code on my command button1 is shown.
I see the run time error 9 subscript out of range but i dont see why,
This is the info to help you.
EXPENSES1 copy cell value D30 then paste it to EXPENSES2 cell D4
Also
EXPENSES1 copy cell values F30:K30 then paste to EXPENSES2 F4:K4
The code on my command button1 is shown.
I see the run time error 9 subscript out of range but i dont see why,
This is the info to help you.
EXPENSES1 copy cell value D30 then paste it to EXPENSES2 cell D4
Also
EXPENSES1 copy cell values F30:K30 then paste to EXPENSES2 F4:K4
Code:
Private Sub CommandButton1_Click()Sheets("EXPENSES1").Range("D30").Copy Sheets("EXPENSES2").Range("D4")
Sheets("EXPENSES1").Range("F30:K30").Copy Sheets("EXPENSES2").Range("F7")
End Sub