Glasgowsmile
Active Member
- Joined
- Apr 14, 2018
- Messages
- 280
- Office Version
- 365
- Platform
- Windows
Good day,
I currently have the following code and I'm trying to find an quicker way to copy / paste it.
Is there a better way to condense this code into something quicker and more efficient?
I currently have the following code and I'm trying to find an quicker way to copy / paste it.
VBA Code:
Sheets(1).Range("A2:B2").Copy
Sheet1.Range("$B$2").PasteSpecial xlPasteValues
Sheets(1).Range("F2:G2").Copy
Sheet1.Range("$G$2").PasteSpecial xlPasteValues
Sheets(1).Range("I2:J2").Copy
Sheet1.Range("$K$2").PasteSpecial xlPasteValues
Sheets(1).Range("L2:M2").Copy
Sheet1.Range("$O$2").PasteSpecial xlPasteValues
Is there a better way to condense this code into something quicker and more efficient?