Link to home
Start Free TrialLog in
Avatar of Bright01
Bright01Flag for United States of America

asked on

Excel Macro Trigger creates Subset

I have a great outline interview Worksheet that EE Pro Martin Liss helped build.  This is a very solid WS that should help people who do interviews.   Right now, if you click the Outline button, it discloses different outline levels.  If you click the black Boxes in Col. C, you will get a cycle for a check, a question mark or an X.  Here is what I'm trying to do;

I would like to see, when you double click the black box, and the box shows a "Check" or "P" with Wingding2, it auto expands by one level.  If you click another box and there is a 3rd level, it will expand to the 3rd level. Click if so it doesn't show a Check (or "P") and it will contract back to the appropriate level.

Keep in mind, this list of questions/text will be at least in the neighborhood of 200+ rows when it is expanded.  You can use Column A as a designator since it equates to a specific "level."

Thank you in advance,

B.
Outline-Dropdown-Trigger.xlsm
Avatar of Martin Liss
Martin Liss
Flag of United States of America image

Let me see what I can do.
Can there be more than 3 levels?

And if I double-click cell C8
User generated image

should it look like this?
User generated imageOr like this?
User generated image
Avatar of Bright01

ASKER

YES.  If you double click... you get only 1 level down as in your second example.  If you click on the Sub Text A, you go to the next level..... but only if it's there.

B.
What about me "Can there be more than 3 levels?" question?
Interesting Question.   I thought that there may be given changing requirements.  But this is actually a "tree" with 3 levels.  Right now 3 levels is all there is.  I'm trying to keep it simple.... but I leave the option open to add additional levels later.....  So now..  let's stick with 3.  Does that work?

B.
Try this workbook. It has a new sheet called "Templates" that could be hidden.
28692258.xlsm
Martin,

I'm getting errors on the opening.  

b.
Problem.ppt
ASKER CERTIFIED SOLUTION
Avatar of Martin Liss
Martin Liss
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Much better!  Almost there.....

However, it should only trigger the outline subgroup if the box is "checked".  Otherwise, it collapses the boxes back. In other words, the statements/questions (Green/Yellow) are only exposed if a check box in the top level (Blue) have been selected as "Checked".  

So, when you clear the entire sheet, you will only see the blue boxes, unless you decide to trigger the "Display" Macro.  Then you will see the entire sheet.

You nailed this one.  I'm going to close this out and open another question to get the second half of this completed.

Thank you very much!   And I hope you will pick up the follow on.

B.
Nailed it!

I'm going to ask another Question given it should only trigger the outline subgroup if the box is "checked".  Otherwise, it collapses the boxes back. In other words, the statements/questions (Green/Yellow) are only exposed if a check box in the top level (Blue) have been selected as "Checked".  

So, when you clear the entire sheet, you will only see the blue boxes, unless you decide to trigger the "Display" Macro.  Then you will see the entire sheet.

You nailed this one.  I'm going to close this out and open another question to get the second half of this completed.

Thank you very much!   And I hope you will pick up the follow on.

B.