+ Reply to Thread
Results 1 to 2 of 2

Make new sheets according list names

Hybrid View

  1. #1
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,095

    Make new sheets according list names

    hello
    i have a names list in range P2:P100
    like
    P2 = A
    P3 = B
    P4 = C
    P5 = D
    P6 = E
    P7 = F

    then create the sheets with name A, B, C, D, E, F

    THANX

  2. #2
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,095

    Re: Make new sheets according list names

    Got the solution

    Sub AddMonthlySheets()
        Dim mMonth As Range
        For Each mMonth In Sheets(1).Range("P2:P100")
            ActiveWorkbook.Sheets.Add after:=Worksheets(Worksheets.Count)
            ActiveSheet.Name = Application.WorksheetFunction.Text(mMonth.Value, mMonth.NumberFormat)
        Next
    End Sub

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 9
    Last Post: 08-16-2013, 09:38 PM
  2. How to Connect Names with Fillcolour? make excel regonice name and generate new list
    By RedRhytmicSkywalder in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-28-2013, 12:50 PM
  3. Adding Sheets with names from a list.
    By Casey in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-04-2006, 11:31 AM
  4. how do i make a drop down list of selected names no repeatition
    By Mehboob Ellahi in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-30-2005, 12:35 PM
  5. [SOLVED] How to make a chart from a list of names?
    By Chris in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 12-19-2005, 07:40 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1