+ Reply to Thread
Results 1 to 5 of 5

Create multiple tabs in a spreadsheet from information in columns

  1. #1
    Registered User
    Join Date
    09-25-2012
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    10

    Create multiple tabs in a spreadsheet from information in columns

    Hi - Hope everyone is doing well.

    I'm working on a spreadsheet which I would like to find an automate way to produce, currently column headers are like this:

    Sanned LP Matched Pallet # CA or OH

    I would like to create new tabs based on the information in the column Pallet # and CA or OH.

    Not sure how to explain what is needed so I've included a sample spreadsheet of what the final workbook will look like. Sheet 1 is where all of the information will be stored, that sheet should the be used to create the additional tabs once the user has finished populating Sheet 1.

    Any help on this task will be greatly appreciated.

    Column_TestII.xlsm

  2. #2
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: Create multiple tabs in a spreadsheet from information in columns

    I think this will do what you want.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  3. #3
    Registered User
    Join Date
    09-25-2012
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    10

    Re: Create multiple tabs in a spreadsheet from information in columns

    @mikerickson - Thanks for your efforts in scripting this out. I have place this code into the production spreadsheet and it created the tabs as requested, however there was a side effect, when the code runs it creates 2 additional tabs with no data. For example if DOOR HEOH has 5 pallets and DOOR HECA only has 4 pallets it creates a 5th tab for HECA with only the headers, I added an example in the attached zip file.

    Any way to avoid this side affect?

    HeilindAuditDoc-Tabs.zip

  4. #4
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: Create multiple tabs in a spreadsheet from information in columns

    Try changing this
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    09-25-2012
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    10

    Re: Create multiple tabs in a spreadsheet from information in columns

    Quote Originally Posted by mikerickson View Post
    Try changing this
    Please Login or Register  to view this content.
    Excellent! It worked perfectly. Thank you very much for your help.

+ 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. Macro to create multiple tabs with same spreadsheet on and date them
    By nacky plopper in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-20-2014, 05:04 PM
  2. Replies: 1
    Last Post: 02-10-2014, 11:30 PM
  3. Replies: 1
    Last Post: 08-23-2012, 07:38 PM
  4. IS there a way to create multiple tabs WITHIN a spreadsheet?
    By ooocharmsooo in forum Excel General
    Replies: 1
    Last Post: 12-28-2011, 12:17 PM
  5. Help: Create Pivot Table from multiple tabs in a Spreadsheet
    By AUDIOBLASTER in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-04-2007, 12:30 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