Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Excel Query

  • 27-09-2014 9:38am
    #1
    Registered Users, Registered Users 2 Posts: 240 ✭✭


    Hi There

    not sure if this can be done but going to ask as i have scoured the internet

    I have a large workbook some 60 worksheets in it and it is in sections is there anyway to hierarchy the tabs or group them into a sub tab. Basically there is 6 sections A, B, C, D, E & F and each section has 10 worksheets.

    What I would like is if I click on tab "Section A" it shows the 10 sheets within it and hides the rest except the header tab

    not explaining myself very well so I will put it in a diagram


    Section A A1 A1.1 A2 A2.1 A3 A3.1 A3.2 A3.4 A4 Section B B1 B1.1 B2 B2.1 B3 B3.1 B3.2 B3.4 B4



    Section A Section B


    any help welcomed

    should note I am useless at macros

    thanks
    Boom Boom


Comments

  • Registered Users, Registered Users 2 Posts: 5,163 ✭✭✭homer911


    I was going to suggest a cover sheet with macro buttons to hide and unhide sheets as appropriate


  • Registered Users, Registered Users 2 Posts: 78,647 ✭✭✭✭Victor


    Colour the tabs?


  • Registered Users, Registered Users 2 Posts: 59,723 ✭✭✭✭namenotavailablE


    Something like the macro-enabled workbook downloadable from the following link might be what you're looking for:

    https://app.box.com/s/vrbpqm9n1y0wgpul4qat


  • Registered Users, Registered Users 2 Posts: 20,830 ✭✭✭✭Taltos


    Simplest way beyond the above is to put Hide / Unhide in a macro and assign it to buttons for each group.

    e.g.
    Macro to hide all but show A
    Sub mcrShowA()
    '
    ' mcrShowA Macro
    ' Hide everything else

    '
    Sheets("A").Visible = True
    Sheets("A1").Visible = True
    Sheets("A1.1").Visible = True
    'etc

    Sheets("B").Visible = False
    Sheets("B1").Visible = False
    'etc

    End Sub
    & create a sub for each of the groupings.
    Then on a control page create Buttons - label A, B etc - & assign the relevant macro.


Advertisement