• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

How to create worksheet with name list

aparvez007

Member
Hi All,

Please help. I want to create worksheet with name list. I have 50 name and I want to create sheet with each name.


Regards,
pAvi
 

Attachments

  • Untitled.jpg
    Untitled.jpg
    107.5 KB · Views: 18
I assume this is using an Addin as I have never seen that screen in Excel?
 
If you want some code:

Code:
Sub Add_Sheets()

Dim c As Range
For Each c In Selection
  Sheets.Add After:=Sheets(Sheets.Count)
  Sheets(Sheets.Count).Name = c.Text
Next

End Sub

Copy the above into a Code Module in VBA

Select a range of names
Alt F8
Select Add_Sheets and Run
 
Back
Top