Hi all,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" /><o></o>
<o></o>
I’m new to using macro’s in excel so not fully up to speed with all aspect of them, but I will try to explain what I would like to achieve as best as I can and hopefully one of the many Excel experts on here will be able to solve all my woes
<o></o>
I have over 60 sheets in the workbook and this question may get a bit complicated so I think it would be best to split it up in to manageable questions, so here goes:<o></o>
<o></o>
I Have a Workbook with around 60+ sheets I have successfully used this example: http://www.mrexcel.com/forum/showthread.php?t=344144 to hide all the sheets except the ‘Index’ one, I now need to try to achieve the following:<o></o>
<o></o>
<o></o>
Part 1 – would like to create a collapsing index structure utilising buttons on the index page that are links to other sheets within the workbook (is this done by hyperlinks or another method?) as if I use hyperlinks I have found they do not work if the sheets are hidden (which I need them to be). The collapsing index would look something like this: <o></o>
<o></o>
Temp 1 <o></o>
Temp 3<o></o>
Temp 4<o></o>
Temp 5<o></o>
Temp 6<o></o>
Temp 7<o></o>
Temp 8<o></o>
Temp 9<o></o>
Temp 10
<o></o>
<o></o>
etc
<o></o>
<o></o>
So when Temp 1 is clicked on it expands showing 4000 Temp 1A, 4100 Temp 1B etc and then when one of them is clicked on they expand to show 4001 Temp 1AA etc<o></o>
<o></o>
One problem is that some of the sheets have been given codes instead of names, e.g.
<o></o>
<o></o>
4001, 4002, 4003, 4004, 4005, 4006<o></o>
4101, 4102, 4103<o></o>
4201, 4202, 4203, 4204, 4205<o></o>
<o></o>
Etc.<o></o>
<o></o>
Will this throw a spanner in the works when using macros and VB<o></o>
<o></o>
<o></o>
Part 2 – From the index page I want everything to be hidden until the link to that page is clicked on; I have not been able to achieve this with hyperlinks as they need the page to be visible? I have tried to use the other code on the above example, but without success, it seems I can only navigate to a sheet if it is unhidden; <o></o>
<o></o>
<o></o>
Part 3 – I need a quick and painless way to get back to the index page hiding any visible pages again, I only want to have the sheet that is being worked on visible at anytime all other sheets to be hidden.<o></o>
<o></o>
Many thanks for any input.<o></o>
<o></o>
Thanks<o></o>
<o></o>
Nick<o></o>
<o></o>
I’m new to using macro’s in excel so not fully up to speed with all aspect of them, but I will try to explain what I would like to achieve as best as I can and hopefully one of the many Excel experts on here will be able to solve all my woes
<o></o>
I have over 60 sheets in the workbook and this question may get a bit complicated so I think it would be best to split it up in to manageable questions, so here goes:<o></o>
<o></o>
I Have a Workbook with around 60+ sheets I have successfully used this example: http://www.mrexcel.com/forum/showthread.php?t=344144 to hide all the sheets except the ‘Index’ one, I now need to try to achieve the following:<o></o>
<o></o>
<o></o>
Part 1 – would like to create a collapsing index structure utilising buttons on the index page that are links to other sheets within the workbook (is this done by hyperlinks or another method?) as if I use hyperlinks I have found they do not work if the sheets are hidden (which I need them to be). The collapsing index would look something like this: <o></o>
<o></o>
Temp 1 <o></o>
4000 Temp 1A <o></o>
Temp 1F<o></o>
Temp 1G<o></o>
Temp 2<o></o>4001 Temp 1AA<o></o>
4002 Temp 1AB<o></o>
4003 Temp 1AC<o></o>
4004 Temp 1AD<o></o>
4005 Temp 1AE<o></o>
4006 Temp 1AF<o></o>
4100 Temp 1B <o></o>4002 Temp 1AB<o></o>
4003 Temp 1AC<o></o>
4004 Temp 1AD<o></o>
4005 Temp 1AE<o></o>
4006 Temp 1AF<o></o>
4101 Temp 1BA<o></o>
4102 Temp 1BB<o></o>
4103 Temp 1BC<o></o>
4104 Temp 1BD<o></o>
Temp 1E<o></o>4102 Temp 1BB<o></o>
4103 Temp 1BC<o></o>
4104 Temp 1BD<o></o>
Temp 1F<o></o>
Temp 1G<o></o>
Temp 2A<o></o>
Temp 2B<o></o>
Temp 2C<o></o>
Temp 2D<o></o>
<o></o>Temp 2B<o></o>
Temp 2C<o></o>
Temp 2D<o></o>
Temp 3<o></o>
Temp 4<o></o>
Temp 5<o></o>
Temp 6<o></o>
Temp 7<o></o>
Temp 8<o></o>
Temp 9<o></o>
Temp 10
<o></o>
<o></o>
etc
<o></o>
<o></o>
So when Temp 1 is clicked on it expands showing 4000 Temp 1A, 4100 Temp 1B etc and then when one of them is clicked on they expand to show 4001 Temp 1AA etc<o></o>
<o></o>
One problem is that some of the sheets have been given codes instead of names, e.g.
<o></o>
<o></o>
4001, 4002, 4003, 4004, 4005, 4006<o></o>
4101, 4102, 4103<o></o>
4201, 4202, 4203, 4204, 4205<o></o>
<o></o>
Etc.<o></o>
<o></o>
Will this throw a spanner in the works when using macros and VB<o></o>
<o></o>
<o></o>
Part 2 – From the index page I want everything to be hidden until the link to that page is clicked on; I have not been able to achieve this with hyperlinks as they need the page to be visible? I have tried to use the other code on the above example, but without success, it seems I can only navigate to a sheet if it is unhidden; <o></o>
<o></o>
<o></o>
Part 3 – I need a quick and painless way to get back to the index page hiding any visible pages again, I only want to have the sheet that is being worked on visible at anytime all other sheets to be hidden.<o></o>
<o></o>
Many thanks for any input.<o></o>
<o></o>
Thanks<o></o>
<o></o>
Nick<o></o>