+ Reply to Thread
Results 1 to 10 of 10

create multiple work books with multiple tabs

  1. #1
    Registered User
    Join Date
    10-18-2013
    Location
    Wayne PA
    MS-Off Ver
    Excel 2010
    Posts
    6

    create multiple work books with multiple tabs

    I am trying to setup a macro that will take my original file that includes multiple sheets and split it into multiple workbooks with the same sheets based on a name entered into a column on the first (main) sheet. I have been able to create a macro that will create multiple workbooks for one sheet but not for multiple sheets (see below). The main worksheet will contain unique data, but the other worksheets will just need to be copied to the new workbooks. I also need any links on the main worksheet to remain intact (linked to other sheets within the workbook as opposed to linking to the original workbook). Pleaee help if you can. Thank you.



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

    Please Login or Register  to view this content.
    Last edited by arlu1201; 10-19-2013 at 02:09 AM. Reason: Use code tags as per rule 3.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: create multiple work books with multiple tabs

    Do you have a sample file that you can upload?

    To Attach a File:

    1. Click on Go Advanced
    2. In the frame Attach Files you will see the button Manage Attachments
    3. Click the button.
    4. A new window will open titled Manage Attachments - Excel Forum.
    5. Click the Browse... button to locate your file for uploading.
    6. This will open a new window File Upload.
    7. Once you have located the file to upload click the Open button. This window will close.
    8. You are now back in the Manage Attachments - Excel Forum window.
    9. Click the Upload button and wait until the file has uploaded.
    10. Close the window and then click Submit.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    10-18-2013
    Location
    Wayne PA
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: create multiple work books with multiple tabs

    I am not able to upload a sample file. Every time I try to, my broswer freezes and I have to restart it... Any other suggestions?

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: create multiple work books with multiple tabs

    What browser are you using?

  5. #5
    Registered User
    Join Date
    10-18-2013
    Location
    Wayne PA
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: create multiple work books with multiple tabs

    Internet Explorer 8 - it's the only browser I can have at my work.

  6. #6
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: create multiple work books with multiple tabs

    How big is your file? You cannot upload a file more than 1mb.

    Also are you using the basic uploader or enhanced uploader? Check UserCP -> General Settings -> Enhanced Attachment Uploading -> Select the Off option.

  7. #7
    Registered User
    Join Date
    10-18-2013
    Location
    Wayne PA
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: create multiple work books with multiple tabs

    Enhanced was turned on. Upload worked this time - here is the sample file with the current macro setup.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    10-18-2013
    Location
    Wayne PA
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: create multiple work books with multiple tabs

    Any luck with this arlu1201?

  9. #9
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: create multiple work books with multiple tabs

    Can you please explain your question with the help of your file. Am not able to understand it.

  10. #10
    Registered User
    Join Date
    10-18-2013
    Location
    Wayne PA
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: create multiple work books with multiple tabs

    Yes. Looking at the sample file I uploaded, I need to do the following:
    1. Create new workbooks for each name in column D on the "input sheet" which contain only the rows for each name. For example, one workbook would be named "Doe" and contain only the rows labeled "Doe" in column D on the input sheet.
    2. Copy over "sheet 1" and "sheet 2" to the new workbooks.
    3. I did not include any links in the sample file, but if the input sheet included a link (such as a vlookup), I would need a way to keep it linked to the active workbook rather than the original workbook that the new files are created from.

    Any ideas are welcome. Thanks!

+ 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 for merging multiple work books
    By sridileep in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-21-2013, 01:37 AM
  2. Excel 2007 : merge Multiple Work Books
    By stinkyrob in forum Excel General
    Replies: 0
    Last Post: 10-21-2009, 03:03 PM
  3. Copying sheet 1 from multiple books into tabs on master
    By jaikin in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-14-2009, 08:49 AM
  4. Replies: 0
    Last Post: 12-19-2005, 07:45 PM
  5. [SOLVED] Histogram made from multiple exel work books.
    By frank in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 06-16-2005, 04:05 PM

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