This is the Sheet1 and I've renamed it to s1
Then, I created 2 new sheets, name it as s2 and s3. It works.
Next step was to copy A1:C1 from s1, and paste it to s2 and s3 also at A1:C1
Unfortunately, it didn't work. Instead of pasting the content of A1:C1 from s1, it just selected from A1 to the end on sheet s2 and s3.
Desired output on both s2 and s3
Then, I created 2 new sheets, name it as s2 and s3. It works.
VBA Code:
Sub test()
' 1. Create 2 new sheets, name it as "s2" and "s3"
Sheets.Add After:=ActiveSheet
Sheets("Sheet1").Name = "s2"
Sheets.Add After:=ActiveSheet
Sheets("Sheet2").Name = "s3"
Next step was to copy A1:C1 from s1, and paste it to s2 and s3 also at A1:C1
Code:
' 2. Attempt to copy and paste doesn't work yet
Range(Range("A1"), Range("A1").End(xlToRight)).Copy
Sheets("s2").Paste
Sheets("s3").Paste
End Sub
Unfortunately, it didn't work. Instead of pasting the content of A1:C1 from s1, it just selected from A1 to the end on sheet s2 and s3.
Desired output on both s2 and s3