Changing the File Access of a Visio Doc

B

bg_ie

Hi,

I wish to make a slight change to readonly visio docs when they are
opened. I use the event handler Document_DocumentOpened but I'¨m
wondering how to change the file access so I can save the changes to
file and then make it read only again immediately after saving.

Thanks,

Barry.
 
J

JuneTheSecond

Visio VBA have OpenEx method and SaveAsEx method.
You can open Visio document as read only or read write mode,
and save it as read only or read write mode.
 
Top