+ Reply to Thread
Results 1 to 4 of 4

Create sheets from ranges

  1. #1
    Registered User
    Join Date
    07-20-2009
    Location
    Portugal
    MS-Off Ver
    Excel 2007
    Posts
    16

    Create sheets from ranges

    Hi,

    I have this file, I would like to create a sheet for each different supplier code (column D), and each sheet named with the supplier code.

    thanks
    Attached Files Attached Files
    Last edited by lfhomet; 10-19-2009 at 07:18 AM.

  2. #2
    Forum Expert
    Join Date
    10-10-2008
    Location
    Northeast Pennsylvania, USA
    MS-Off Ver
    Excel 2007
    Posts
    2,387

    Re: Create sheets from ranges

    lfhomet,

    See the attached workbook "NSF_Centralizados - lfhomet - SDG10.xls" with macro "DistributeRows".

    Open the workbook, and run the "DistributeRows" macro.
    Attached Files Attached Files
    Have a great day,
    Stan

    Windows 10, Excel 2007, on a PC.

    If you are satisfied with the solution(s) provided, please mark your thread as Solved by clicking EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

  3. #3
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Create sheets from ranges

    Hello lfhomet,

    This macro has been added to the attached workbook. It will create one worksheet and name it for each supplier in the list. If the supplier name contains any illegal characters for a worksheet name, they are removed.
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  4. #4
    Registered User
    Join Date
    07-20-2009
    Location
    Portugal
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: Create sheets from ranges

    Thank you both very much for your help.

    It worked just fine.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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