Hi,
I like to click a "down" button (image) to unhide the rows, down button will switch to "up" button and text will be changed.
To unhide the rows, click "up" button then text will change to a different text.
Please advise. Thanks of your help.
Hi,
I like to click a "down" button (image) to unhide the rows, down button will switch to "up" button and text will be changed.
To unhide the rows, click "up" button then text will change to a different text.
Please advise. Thanks of your help.
My opinion (and it's worth what you paid for it):
I think you're going to have a tough time with the route you have chosen. MS provides both form and active x controls to function adequately in scenarios such as these. An ActiveX togglebutton, for example, is perfect for this. However, you will lose your preferred formatting.
I could be wrong, and often am, but under the scenario you describe, you will have to have both pictures (the orb/up, orb/down) placed out of sight, called and positioned upon worksheet activation, have a boolean trigger somewhere to determine the state (hidden or unhidden) of the rows, apply the appropriate macro, re-call the opposing picture, and re-apply the opposing code functionality for use when user wants to invoke the alternate environment.
Feels heavy. You could use a togglebutton with 10 or so lines of code behind it and you would be on to the next task.
Again, my opinion. Good luck.
Perhaps it was the Noid who should have avoided me...
If you are satisfied with my solution click the small star icon on the left. Thanks
1. Make a copy of your workbook and run the following code on your copy (just in case)
2. With excel open, press ALT+F11 to open the Visual Basic Editor (VBE). From the "Insert" menu, select "Module".
3. Paste the code from above into the empty white space. Close the VBE.
4. From the developer tab, choose "Macros", select the Sub Name, and click "Run".
Thanks for the reply. I have seen this was done in HTML. I could use the "group" with plus sign on the far left of vertical bar. I do not like the looks.
Worst case I may use fonts liked triangles instead of down and up bottons (pictures); if that works. But I need to click the same cell to change the
triangle angles back and fore.
Thanks
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks