Jyotirmaya
Board Regular
- Joined
- Dec 2, 2015
- Messages
- 205
- Office Version
- 2019
- Platform
- Windows
Sub Button3_Click()
Range("B19", "B22").Copy
Sheet4.Range("B" & Rows.Count).End(3)(2).PasteSpecial xlPasteValues
Sheet4.Select
Application.CutCopyMode = False
End Sub
I need only to copy the value of B19 and B22 on "Sheet4" B & C Cells respectively but when I use the above formula, it copies entire rows from B19 to B22 and pastes vertically in B2,B3,B4,B5.
I want the code to copy only value of B19 & B22 and value will be posted in B & C columns automatically to the next row and so on.
Range("B19", "B22").Copy
Sheet4.Range("B" & Rows.Count).End(3)(2).PasteSpecial xlPasteValues
Sheet4.Select
Application.CutCopyMode = False
End Sub
I need only to copy the value of B19 and B22 on "Sheet4" B & C Cells respectively but when I use the above formula, it copies entire rows from B19 to B22 and pastes vertically in B2,B3,B4,B5.
I want the code to copy only value of B19 & B22 and value will be posted in B & C columns automatically to the next row and so on.