VisOpenSaveArgs Enumeration (Visio)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Flags to be passed to the Documents.AddEx, Documents.OpenEx, and Documents.SaveAsEx methods.

Constant

Value

Description

visAddDeclineAutoRefresh

1024

Adds a document without displaying the Configure Refresh dialog box.

visAddDocked

4

Adds a document in a docked window.

visAddHidden

64

Adds a document in a hidden window.

visAddMacrosDisabled

128

Adds a document with macros disabled.

visAddMinimized

16

Adds a document in a minimized window

visAddNoWorkspace

256

Adds a document with no workspace information.

visAddStencil

512

Adds a new stencil file.

visOpenCopy

1

Opens a copy of the document.

visOpenCopyOfNaming

2048

Opens a copy of the document, using a copy of the naming.

visOpenDeclineAutoRefresh

1024

Opens a document without displaying the Configure Refresh dialog box.

visOpenDocked

4

Opens a stencil in a docked window.

visOpenDontList

8

Opens the document without adding it to the Most Recently Used (MRU) list.

visOpenHidden

64

Opens the document in a hidden window.

visOpenMacrosDisabled

128

Opens the document with macros disabled.

visOpenMinimized

16

Opens the document in a minimized window.

visOpenNoWorkspace

256

Opens the document with no workspace information.

visOpenRO

2

Opens the document as read-only.

visOpenRW

32

Opens the document for both reading and writing.

visSaveAsCheckCompatibility

Displays the Compatibility Checker dialog box on save.

visSaveAsListInMRU

4

Saves the document and puts it in the MRU list.

visSaveAsRO

1

Saves the document as read-only.

visSaveAsWS

2

Saves the workspace and the file.

Show: