+ Reply to Thread
Results 1 to 5 of 5

Excel 2007 : Creat worksheets and name them from a range of cells

  1. #1
    Registered User
    Join Date
    08-08-2008
    Location
    Johannesburg
    MS-Off Ver
    2007
    Posts
    55

    Creat worksheets and name them from a range of cells

    Hi All
    I have a range cells (A1:A20) each have a word inside.

    How can I create a macro to generate/populate 20 worksheets that the names taken from the cells?

    Thanks in advance for your help

    Amit

    P.S
    This one doesn't help http://www.excelforum.com/excel-work...heet-name.html
    Last edited by furiousfox; 07-09-2009 at 01:27 PM. Reason: Update
    Using Excel 2007.
    Amit Cohen

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Creat worksheets and name them from a range of cells

    If we assume you're saying Sheet1!A1:A20 contains 20 words, you want to create a sheet for each word naming the sheet per the word ...

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    04-03-2007
    Location
    Auckland, New Zealand
    MS-Off Ver
    2007
    Posts
    137

    Re: Creat worksheets and name them from a range of cells

    Give this a go..

    Please Login or Register  to view this content.
    Should work fine - I added six new sheets using this.

    Beware !!! It's likely to crash if one of the sheet names is already used..

  4. #4
    Registered User
    Join Date
    08-08-2008
    Location
    Johannesburg
    MS-Off Ver
    2007
    Posts
    55

    Thumbs up Re: Creat worksheets and name them from a range of cells

    Hi DonkeyOte & Jbentley

    Thanks so much for the fast replay!!

    I have tested both scripts, and they works great


    Thanks for your help

    FuriousFox

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Creat worksheets and name them from a range of cells

    If that takes care of your need, be sure to EDIT your original post, click Go Advanced and mark the PREFIX box [SOLVED].

    (Also, use the blue "scales" icon in our posts to leave Reputation Feedback, it is appreciated)
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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