+ Reply to Thread
Results 1 to 13 of 13

Maco to create new tabs with data within an excel spread sheet

  1. #1
    Registered User
    Join Date
    07-07-2010
    Location
    Mass, USA
    MS-Off Ver
    Excel 2003
    Posts
    9

    Maco to create new tabs with data within an excel spread sheet

    I attached a file called example. In column A I have a unique number for each worksheet I need created. For "1" would need a single work sheet. I also only want to include columns titles a through ak that have values. So the first worksheet would have 3 rows and 3 columns.
    Last edited by lissa843; 07-12-2010 at 07:41 PM.

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

    Re: Maco to create new tabs with data within an excel spread sheet

    Sample workbook missing?

    I have a macro that may be "ready to use" for parsing rows of data from one sheet to many sheets named for the same values.It not only can parse the rows, it can create the sheets if they are missing.
    _________________
    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!)

  3. #3
    Registered User
    Join Date
    07-07-2010
    Location
    Mass, USA
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Maco to create new tabs with data within an excel spread sheet

    I have re-uploaded that file.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    07-07-2010
    Location
    Mass, USA
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Maco to create new tabs with data within an excel spread sheet

    I am still having problems getting this macro to work, I should worn you I have little experience with macros.

    Anyway someone can help we creat a macro based on the example shee I attached?

    Thanks!

  5. #5
    Forum Expert
    Join Date
    03-31-2009
    Location
    Barstow, Ca
    MS-Off Ver
    Excel 2002 & 2007
    Posts
    2,164

    Re: Maco to create new tabs with data within an excel spread sheet

    Just letting you know, I'm working on it now. I have to leave for a few hours, but I should be done with it today.
    Foxguy

    Remember to mark your questions [Solved] and rate the answer(s)
    Forum Rules are Here

  6. #6
    Forum Expert
    Join Date
    03-31-2009
    Location
    Barstow, Ca
    MS-Off Ver
    Excel 2002 & 2007
    Posts
    2,164

    Re: Maco to create new tabs with data within an excel spread sheet

    Hi lissa;

    I'm attaching a workbook that does what you asked. I'm sure it's not 100%, but it should be close.

    It creates worksheets named "Sheet 1", "Sheet 2", "Sheet 3" (different from "Sheet1", "Sheet2", etc.) for the data.

    I tested the upload just now and it crashes trying to add the sheets. I don't have time to fix it right now, so before running "Split_Sheet" macro, add blank sheets and name them "Sheet 1", "Sheet 2", and "Sheet 3" (with space between "Sheet" & number), then run "Split_Sheet".

    I'll be back in a few hours and see if I can fix it.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    07-07-2010
    Location
    Mass, USA
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Maco to create new tabs with data within an excel spread sheet

    Excellent. I seems to be working well. I am going to try it shortly on my larger file. If you can get it to work completly that would be great, but if not this way will still save me hours of work!

  8. #8
    Forum Expert
    Join Date
    03-31-2009
    Location
    Barstow, Ca
    MS-Off Ver
    Excel 2002 & 2007
    Posts
    2,164

    Re: Maco to create new tabs with data within an excel spread sheet

    Hi Lissa;

    I still don't know why it's crashing, but if you change this line, it appears to work. It just doesn't put the sheet where I wanted to put it.
    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    07-07-2010
    Location
    Mass, USA
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Maco to create new tabs with data within an excel spread sheet

    Thanks!!!!

  10. #10
    Forum Expert
    Join Date
    03-31-2009
    Location
    Barstow, Ca
    MS-Off Ver
    Excel 2002 & 2007
    Posts
    2,164

    Re: Maco to create new tabs with data within an excel spread sheet

    You're welcome.

    Don't forget to mark the thread solved, and rate the answer.

  11. #11
    Registered User
    Join Date
    07-07-2010
    Location
    Mass, USA
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Maco to create new tabs with data within an excel spread sheet

    I would love to put it as solved, this is the first time I have used this website and cant seem to figure out how to do that. Help?

    Thanks

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

    Re: Maco to create new tabs with data within an excel spread sheet

    Click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

  13. #13
    Forum Expert
    Join Date
    03-31-2009
    Location
    Barstow, Ca
    MS-Off Ver
    Excel 2002 & 2007
    Posts
    2,164

    Re: Maco to create new tabs with data within an excel spread sheet

    And to rate the answer, click the blue scales in the upper right corner of the message you liked (next to the message #, above "Join Date").

+ 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