Pages lost from Visio file

G

GraemeUK

I have a visio document with seven pages. It is linked to an excel file for
data graphic information.

I have saved this file and when I reopened all the pages were gone. Some
favourite stencils were retained along with visio drawings, however the
actual pages of diagrams are missing.

When I go to File >> Properties the pages are listed in content.

Anyone have any ideas as to why the diagram pages are "hidden".
 
P

Paul Herber

I have a visio document with seven pages. It is linked to an excel file for
data graphic information.

I have saved this file and when I reopened all the pages were gone. Some
favourite stencils were retained along with visio drawings, however the
actual pages of diagrams are missing.

When I go to File >> Properties the pages are listed in content.

Anyone have any ideas as to why the diagram pages are "hidden".

The page UIVisibility has been set for some reason.
Our utilities at
http://www.visio-utilities.sandrila.co.uk/
can fix this or you can write a macro to do it.
I don't really do VBA but something like

loop through all pages
page.pagesheet.cellSRC[visSectionObject,
visRowPage, visPageUIVisibility].Set_Formula('=0')
end loop
 
G

GraemeUK

Thanks Paul

I dont know enough about vba either I'm afraid.

I downloaded the trial. Which funtion do you thinkwould be best to try
first. I have run some like Copy pages to another document. Visio closes down
without generating anything.

Cheers

Paul Herber said:
I have a visio document with seven pages. It is linked to an excel file for
data graphic information.

I have saved this file and when I reopened all the pages were gone. Some
favourite stencils were retained along with visio drawings, however the
actual pages of diagrams are missing.

When I go to File >> Properties the pages are listed in content.

Anyone have any ideas as to why the diagram pages are "hidden".

The page UIVisibility has been set for some reason.
Our utilities at
http://www.visio-utilities.sandrila.co.uk/
can fix this or you can write a macro to do it.
I don't really do VBA but something like

loop through all pages
page.pagesheet.cellSRC[visSectionObject,
visRowPage, visPageUIVisibility].Set_Formula('=0')
end loop
 
P

Paul Herber

Thanks Paul

I dont know enough about vba either I'm afraid.

I downloaded the trial. Which funtion do you thinkwould be best to try
first. I have run some like Copy pages to another document. Visio closes down
without generating anything.

Page Report.
but, there does seem to be a problem with some installations on Visio
2007, most work just fine, but others cause Visio to either give an
exception, hang up at 100% usage or close Visio. Other people tell it
works fine with their Visio 2007. I don't have a handle on this
problem yet.
 
G

GraemeUK

I save the files as a vsd file then opened it in openxml editor. The
UIVisibility for the pages is set to "0"

If I save the document as a web page it then produces a representation of
the page as it should be.

Any thoughts ?

.......Thanks for your time !
 
P

Paul Herber

I save the files as a vsd file then opened it in openxml editor. The
UIVisibility for the pages is set to "0"

Set it to 1 and import back to Visio.
It appears that the UIVisibility flag is the wrong way round, it
probably should have been called Invisibility !!!!
 
J

John Goldsmith

Hi Paul,

That's not my experience. 0 is visible and 1 is invisible, as far as I'm
aware.

One thing I was wondering about is if the file is in group edit mode or
similar (where pages don't show)?

Graeme, can you see any pages tabs at all?

I notice that saving a file in group edit mode adds a second window within
the xml. Do you see more than one 'Window' tag within the 'Windows' tag?

Best regards

John


John Goldsmith
www.visualSignals.typepad.co.uk
www.visualSignals.co.uk
 
P

Paul Herber

Hi Paul,

That's not my experience. 0 is visible and 1 is invisible, as far as I'm
aware.

D'oh, of course, you see what I mean about it being confusing!

Don't know what is wasn't just called Hidden?
 
P

Paul Herber

Hi Paul,

That's not my experience. 0 is visible and 1 is invisible, as far as I'm
aware.

One thing I was wondering about is if the file is in group edit mode or
similar (where pages don't show)?

Graeme, can you see any pages tabs at all?

I notice that saving a file in group edit mode adds a second window within
the xml. Do you see more than one 'Window' tag within the 'Windows' tag?

Not just Group Edit mode, also Master edit mode and the Shapesheet
edit window. I wonder what the reasoning is behind restoring these
windows when reopening the document. I can't think of any valid reason
and I think it could only cause problems.
 

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