Hi all,
I am trying to create a loop to add multiple worksheets
I want to add a new sheet for each company (A2:A14)
This is what I have so far, not sure how far off I am. Can anyone help?
I am also wanting to add the sheets after the current last sheet if possible.
Sub addnewsheet()
x = 2
Do Until Cells(x, 1) <> ""
Sheets.Add.Name = Worksheets("securities").Cells(x, 1).Value & ".ax"
x = x + 1
Loop
End Sub
I am trying to create a loop to add multiple worksheets
I want to add a new sheet for each company (A2:A14)
This is what I have so far, not sure how far off I am. Can anyone help?
I am also wanting to add the sheets after the current last sheet if possible.
Sub addnewsheet()
x = 2
Do Until Cells(x, 1) <> ""
Sheets.Add.Name = Worksheets("securities").Cells(x, 1).Value & ".ax"
x = x + 1
Loop
End Sub
![103a1as.png](/board/proxy.php?image=http%3A%2F%2Fi42.tinypic.com%2F103a1as.png&hash=718a7894fdea7d032e2354ec1861fd09)