Link to home
Start Free TrialLog in
Avatar of Lynette Chaplin
Lynette ChaplinFlag for United States of America

asked on

Unable to Sort Pages LC

I apparently have placed a background page in the wrong place and cannot reorder forefront pages in Visio 2013.  How do I correct this?  Thanks.  I also need help to alphabetize this large CrSolns041519.vsdxorg chart and to shrink pages.
Avatar of Scott Helmers
Scott Helmers
Flag of United States of America image

My first suggestion is that you immediately edit your question and delete the Visio diagram. There is way too much confidential information in it. If you can't delete the file, I would delete the entire question just to be sure it's gone, and then post a new question without the attachment.

The problem with the diagram is that all pages from VBackground-1 to the right are background page. I'm not sure how that happened but that's why you can't move any of them (Visio does not allow you to reorder background pages from the user interface.)

If you change the page type of any page to foreground, it will pop to the left of VBackground-1 and you can then move it anywhere you'd like.

You can make this change to each page manually, of course. Of you can use this macro to do it for you:
Sub ChangePageType()
' sets the background page flag off for all pages except the one named VBackground-1

    Dim doc         As Visio.Document
    Dim pg          As Visio.Page
    
    Set doc = ActiveDocument
    
    For Each pg In doc.Pages
        If pg.Name <> "VBackground-1" Then
            pg.Background = False
        End If
    Next pg

End Sub

Open in new window


We can deal with page size and page sequence next.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.