News:

BB code in posts seems to be working again!
I haven't turned on every single tag, so please let me know if there are any that are used/needed but not activated.

Main Menu

Can't unhide page after hiding it

Started by SixSigmaGuy, April 22, 2021, 06:48:25 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SixSigmaGuy

This functionality seems to have changed in Visio 2019.  I changed the UIVisibility property on a Visio Page's ShapeSheet to 1 (Hidden) and closed the shapesheet.  Now I want to unhide that page.  I used to go to the Drawing Explorer, find the hidden window, view its shapesheet and change the property back to 0.  But the Drawing Explorer no longer shows hidden pages.  I can't find anyway to get back to the shapesheet so I can change the property back to 0.  Anyone know a way to do this in Visio 2019?

Paul Herber

Electronic and Electrical engineering, business and software stencils for Visio -

https://www.paulherber.co.uk/

SixSigmaGuy

Thanks.  I ended up writing some VBA code that walked through all the pages and unhid them all.  I then created a property in the shapesheet for each page that would keep track of which pages should normally be hidden.  Finally, I wrote some more code that walked through the pages again and hid all the ones with that property set.  It works great.  I'm still curious how someone would do it if they didn't program.  I could easily see some poor unsuspecting visio designer, hiding some pages for a presentation, or something, and then later discovering they couldn't get them back.  I was pretty bummed to learn that I can't add macros to the quick launch bar or to ribbon. :-(

Surrogate

#3
You can navigate between pages with key combinations Ctrl and PageDown/PageUp
1. For example activate page which situated before hidden
2. Press keys Ctrl+PageDown
3. Open Page's shapesheet
4. Change value in cell UIVisibility to 0
UIVisibility=0



If active page have UIVisibility=0 its name highlighted with blue color, if active page have UIVisibility=1 you cant see none pages with highlighted name!!!
Quote from: SixSigmaGuy on April 23, 2021, 06:06:36 AM
I was pretty bummed to learn that I can't add macros to the quick launch bar or to ribbon. :-(
you can create xml file for ribbon and load it as Activedocument.CustomUI

Surrogate


Browser ID: smf (possibly_robot)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 272 (show)
Files included: 34 - 1306KB. (show)
Memory used: 1109KB.
Tokens: post-login.
Cache hits: 13: 0.00193s for 26,733 bytes (show)
Cache misses: 2: (show)
Queries used: 16.

[Show Queries]