Create workbooks from a list
Closed
2jbb
Posts
1
Registration date
Friday August 3, 2018
Status
Member
Last seen
August 3, 2018
-
Updated on Aug 3, 2018 at 10:54 AM
TrowaD Posts 2921 Registration date Sunday September 12, 2010 Status Moderator Last seen December 27, 2022 - Aug 7, 2018 at 11:55 AM
TrowaD Posts 2921 Registration date Sunday September 12, 2010 Status Moderator Last seen December 27, 2022 - Aug 7, 2018 at 11:55 AM
Related:
- Creating multiple workbooks from a template and a list of names
- My contacts list names - Guide
- Ideogram ai names - Guide
- A5 template word - Guide
- Wow monk names - Guide
- Counter strike 1.6 cheats list - Guide
1 response
TrowaD
Posts
2921
Registration date
Sunday September 12, 2010
Status
Moderator
Last seen
December 27, 2022
555
Aug 7, 2018 at 11:55 AM
Aug 7, 2018 at 11:55 AM
Hi 2jbb,
Point C " tab sheet 'budget' " got me a little confused.
This is what the code below does:
-Copy template
-Rename Template to the value in A1
-Renamed Template cell D2 = A1
-Renamed Template cell D3 = B1
-Renamed Template cell D4 = C1
-Repeat for the other 199 rows
This will only work when the Template and your main sheet are in the same file.
Here is the code:
Run the code from your main sheet where your lists are located.
Does this get the job done for you?
Best regards,
Trowa
Point C " tab sheet 'budget' " got me a little confused.
This is what the code below does:
-Copy template
-Rename Template to the value in A1
-Renamed Template cell D2 = A1
-Renamed Template cell D3 = B1
-Renamed Template cell D4 = C1
-Repeat for the other 199 rows
This will only work when the Template and your main sheet are in the same file.
Here is the code:
Sub RunMe() For Each cell In Range("A1:A200") Sheets("Template").Copy After:=Sheets(Sheets.Count) With ActiveSheet .Name = cell.Value .Range("D2").Value = cell.Value .Range("D3").Value = cell.Offset(0, 1).Value .Range("D4").Value = cell.Offset(0, 2).Value End With Next cell End Sub
Run the code from your main sheet where your lists are located.
Does this get the job done for you?
Best regards,
Trowa