+ Reply to Thread
Results 1 to 6 of 6

Combining Two Workbooks/Organizing It

  1. #1
    Registered User
    Join Date
    01-09-2015
    Location
    Des Moines, IA
    MS-Off Ver
    2010
    Posts
    62

    Combining Two Workbooks/Organizing It

    Hi all,

    I have two workbooks with approximately 40 tabs on one and 20 tabs on the other. I'm looking for a way to keep these separated, but also have them in the same workbook. So I'm thinking macro buttons that would show all tabs for workbook 1 when clicked, and show all tabs for workbook 2 when clicked.

    Any input or ideas to organize these tabs so they are not all just at the bottom row would be appreciated. (Excel 2010)

    Thank you

  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: Combining Two Workbooks/Organizing It

    This is a VBA question, so it has been moved to the correct forum.

    A button that shows one set of sheet tabs and hides others? Simple enough:

    Please Login or Register  to view this content.

    Adjust that as needed and as many as needed. Remember to always SHOW the tabs first, then hide the rest.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    _________________
    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
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Combining Two Workbooks/Organizing It

    Why not just copy all the worksheets from one workbook to the other and colour the tabs so that the worksheets are visually separate but in the same workbook.

    In one of the workbooks select all the worksheets, right click on the selected tabs and click on Move or Copy, select copy (to leave the workbook as is in case something happens in the process) choose where to put the copy in the other workbook and click ok. The selected worksheets will be copied to the other workbook. Then just colour the tabs to make those copied worksheets stand out.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

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

    Re: Combining Two Workbooks/Organizing It

    They are trying to manage how many sheet tabs there are visible at any one time to minimize scrolling. 60 tabs is a lot.

  5. #5
    Registered User
    Join Date
    01-09-2015
    Location
    Des Moines, IA
    MS-Off Ver
    2010
    Posts
    62

    Re: Combining Two Workbooks/Organizing It

    Is it possible to have the functionality so we don't have to "Show" first each time. So for instance, if I click the First Set Button, it hides the second set and quickly after I click the second set button, and it hides the first set button and unhides the second?

    Thanks!

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

    Re: Combining Two Workbooks/Organizing It

    You can't HIDE all the sheets first as that might create a scenario where ALL the sheets were trying to be hidden at once. So you must unhide at least one sheet at the start. But you can hide and unhide the rest of the sheets in any manner you want.

    Also, the macro technique I showed will be relatively instantaneous. When you click the button all 60 sheets will update visibility pretty fast.

+ 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. Combining and organizing 2 sheets with a common column
    By texas979 in forum Excel General
    Replies: 5
    Last Post: 08-19-2013, 06:51 PM
  2. [SOLVED] Combining Workbooks
    By lesoies in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-30-2012, 04:57 PM
  3. combining 2 workbooks
    By wayneg in forum Excel General
    Replies: 3
    Last Post: 08-17-2012, 07:45 AM
  4. Combining Workbooks
    By samiuddin87 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-25-2011, 11:38 AM
  5. combining workbooks.
    By vivo in forum Excel General
    Replies: 2
    Last Post: 04-20-2010, 03:24 PM
  6. combining 2 workbooks
    By Dana in forum Excel General
    Replies: 0
    Last Post: 03-22-2006, 05:50 PM
  7. Organizing Multiple Workbooks
    By tksilver in forum Excel General
    Replies: 2
    Last Post: 02-15-2006, 11:30 AM
  8. [SOLVED] combining many different workbooks
    By what were they thinking in forum Excel General
    Replies: 1
    Last Post: 01-14-2006, 05:10 AM

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