Help with VBA Code to Copy and Paste Data Needed

Closed
swolford Posts 1 Registration date Monday July 7, 2014 Status Member Last seen July 7, 2014 - Jul 7, 2014 at 02:08 PM
 Blocked Profile - Jul 9, 2014 at 05:50 AM
I want to create a worksheet and copy and paste rows with a specific value in Column A to a worksheet named for the value. The new sheet should have same header as in Sheet1

Possible Values-
CodeBreakers
Globetrotters
RBivr
Stairway to Hygiene
Team Mastermind
The Dial Tones


Column Header Label
A Team
B Title
C Epic
D Goals
E Production Deployment Date
F Release Name
G Sprint
H Status
Related:

1 response

Blocked Profile
Jul 9, 2014 at 05:50 AM
Go to the developer tab and click on insert option. You will get a sub menu which will show you different types of forms control as well as active contols. Click on the command button from the active part and make it on the worksheet on which the original data is.
right click on the command button and click on view code and paste the code given below.
place a command button in the sheet1 and go to the vba code of the command button and follow the code:

Private Sub CommandButton1_Click()
Worksheets(1).Range("A1").CurrentRegion.Copy
Worksheets(2).Range("A1").PasteSpecial
End Sub


[Signature removed - Moderator]
0