Macro to create worksheets
Solved/Closed
Related:
- Macro to create worksheets
- Create skype account with gmail - Guide
- Create snapchat account - Guide
- Create hotmail account - Guide
- Create instagram account on pc - Guide
- Create samsung account - Guide
2 responses
TrowaD
Posts
2921
Registration date
Sunday September 12, 2010
Status
Moderator
Last seen
December 27, 2022
555
Mar 20, 2012 at 11:13 AM
Mar 20, 2012 at 11:13 AM
Hi Mike,
First select all the project names you want to create a sheet for. Then run the following macro:
When you enter new project names, simply select only the new ones and run the macro again.
Best regards,
Trowa
First select all the project names you want to create a sheet for. Then run the following macro:
Sub test() Dim x As Integer For Each cell In Selection x = Sheets.Count Sheets("Sheet2").Copy After:=Sheets(x) Sheets("Sheet2 (2)").Name = cell.Value Next cell End Sub
When you enter new project names, simply select only the new ones and run the macro again.
Best regards,
Trowa