hide background page

V

Vera

How can I use a background page without exposing it to the user as a separate
page in the document? thx, vera
 
M

Mark Nelson [MS]

You can programmatically make a page hidden.

--
Mark Nelson
Office Graphics - Visio
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.
 
V

Vera

Tease! (but thanks!). I tried but I'm not getting it. Can you give me a
little more of a hint for doing this in VBA? I need to hide one background
page from the user. Thanks, vera
 
M

Mark Nelson [MS]

OK, I was mistaken. Visio apparently does not have a property to control
this.

--
Mark Nelson
Office Graphics - Visio
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.
 
J

John Marshall, MVP

Actually, I was mistaken.

The actual property is UIVisibility on the Page spreadsheet. You can hide
the page and references to it by setting this field to 1. Of course, you
need another method of bringing the page back because once hidden, you will
not have access to the page through the UI. This could be code or you could
set UIVisibility to a formula that uses a variable in the document.

Since Visio likes to have at least one page visible, this will not work on
the last visible page.

The other thing is that you must use the background page first. When the
page is hidden, it is no longer in the list of background pages available in
Page Setup.

John... Visio MVP

Need stencils or ideas? http://www.mvps.org/visio/3rdparty.htm
Need VBA examples? http://www.mvps.org/visio/VBA.htm
Common Visio Questions http://www.mvps.org/visio/common_questions.htm
Visio Wishlist http://www.mvps.org/visio/wish_list.htm
 
M

Michel LAPLANE

You can protect the Background page using the drawing explorer. The context
menu have a protect submenu. Check Background, the background page will
becommes invisible.
 
V

Vera

Great! Thanks a million, vera

Michel LAPLANE said:
You can protect the Background page using the drawing explorer. The context
menu have a protect submenu. Check Background, the background page will
becommes invisible.
 
G

GeorgeJ

I opened the drawing explorer (View > Drawing Explorer), expanded "Background
Pages," and right-clicked on my background page, but the context menu does
not display a protect submenu. The context menu displays only "Page
Setup...", "Ruler & Grid...", "Delete Page" and "Show ShapeSheet." In the
ShapeSheet, I see a Page Property named "UIVisibility," which can take on one
of two values ("visUIVNormal" or "visUIVHidden"). Setting UIVisibility to
visUIHidden makes the background page invisible, in that the tab for the page
disappears from the drawing window and the background page's entry disappears
from the drawing explorer. However, now, when I insert a new page (Insert >
New Page), the background page is no longer available.

Is there a way to make the background page hidden, in that it doesn't have a
tab on the drawing page, yet it is available as a background page for new
page insertions?

BTW, how can I set UIVisibility back to visUIVNormal? (This is an academic
question, because I did not save the changes to my drawing.)
 
V

Vera

The protect submenu is at the document level in drawing explorer. Rtclk on
the document & "Background" will be on the submenu.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top