InvisibleApp object (Visio)
Represents an invisible instance of Microsoft Visio. The properties of the InvisibleApp object are identical to those of the Application object.
Note
Starting with Visio 2010, the Microsoft Office Fluent user interface (UI) replaced the previous system of layered menus, toolbars, and task panes. VBA objects and members that you used to customize the user interface in previous versions of Visio are still available in Visio, but they function differently.
Remarks
Use the InvisibleApp object when you want to take advantage of Automation in Visio without end-user interaction or knowledge.
An external program typically creates or retrieves an Application or InvisibleApp object before it can retrieve other Visio objects from that instance. Use the Microsoft Visual Basic CreateObject function or the New keyword to run a new instance. Set the value of the InvisibleApp object's Visible property to True to show it.
Note
You cannot use the Visual Basic GetObject function to retrieve an InvisibleApp object for an instance of Visio that is already running. Attempts to do so will fail.
Use the Documents, Windows, and Addons properties to retrieve the Documents, Windows, and Addons collections of the instance respectively.
Use the ActiveDocument, ActivePage, or ActiveWindow property to retrieve the currently active Document, Page, or Window object.
ActiveDocument is the default property of an InvisibleApp object.
Note
Code in the Microsoft Visual Basic for Applications (VBA) project of a Visio document can use the Visio Global object instead of a Visio Invisible App object to retrieve other objects.
Events
- AfterModal
- AfterRemoveHiddenInformation
- AfterReplaceShapes
- AfterResume
- AfterResumeEvents
- AppActivated
- AppDeactivated
- AppObjActivated
- AppObjDeactivated
- BeforeDataRecordsetDelete
- BeforeDocumentClose
- BeforeDocumentSave
- BeforeDocumentSaveAs
- BeforeMasterDelete
- BeforeModal
- BeforePageDelete
- BeforeQuit
- BeforeReplaceShapes
- BeforeSelectionDelete
- BeforeShapeDelete
- BeforeShapeTextEdit
- BeforeStyleDelete
- BeforeSuspend
- BeforeSuspendEvents
- BeforeWindowClosed
- BeforeWindowPageTurn
- BeforeWindowSelDelete
- CalloutRelationshipAdded
- CalloutRelationshipDeleted
- CellChanged
- ConnectionsAdded
- ConnectionsDeleted
- ContainerRelationshipAdded
- ContainerRelationshipDeleted
- ConvertToGroupCanceled
- DataRecordsetAdded
- DataRecordsetChanged
- DesignModeEntered
- DocumentChanged
- DocumentCloseCanceled
- DocumentCreated
- DocumentOpened
- DocumentSaved
- DocumentSavedAs
- EnterScope
- ExitScope
- FormulaChanged
- GroupCanceled
- KeyDown
- KeyPress
- KeyUp
- MarkerEvent
- MasterAdded
- MasterChanged
- MasterDeleteCanceled
- MouseDown
- MouseMove
- MouseUp
- MustFlushScopeBeginning
- MustFlushScopeEnded
- NoEventsPending
- OnKeystrokeMessageForAddon
- PageAdded
- PageChanged
- PageDeleteCanceled
- QueryCancelConvertToGroup
- QueryCancelDocumentClose
- QueryCancelGroup
- QueryCancelMasterDelete
- QueryCancelPageDelete
- QueryCancelQuit
- QueryCancelReplaceShapes
- QueryCancelSelectionDelete
- QueryCancelStyleDelete
- QueryCancelSuspend
- QueryCancelSuspendEvents
- QueryCancelUngroup
- QueryCancelWindowClose
- QuitCanceled
- ReplaceShapesCanceled
- RuleSetValidated
- RunModeEntered
- SelectionAdded
- SelectionChanged
- SelectionDeleteCanceled
- ShapeAdded
- ShapeChanged
- ShapeDataGraphicChanged
- ShapeExitedTextEdit
- ShapeLinkAdded
- ShapeLinkDeleted
- ShapeParentChanged
- StyleAdded
- StyleChanged
- StyleDeleteCanceled
- SuspendCanceled
- SuspendEventsCanceled
- TextChanged
- UngroupCanceled
- ViewChanged
- VisioIsIdle
- WindowActivated
- WindowChanged
- WindowCloseCanceled
- WindowOpened
- WindowTurnedToPage
Methods
- AddUndoUnit
- BeginUndoScope
- ClearCustomMenus
- ClearCustomToolbars
- ConvertResult
- DoCmd
- EndUndoScope
- EnumDirectories
- FormatResult
- FormatResultEx
- GetBuiltInStencilFile
- GetCustomStencilFile
- GetPreviewEnabled
- InvokeHelp
- OnComponentEnterState
- PurgeUndo
- QueueMarkerEvent
- Quit
- Redo
- RegisterRibbonX
- RenameCurrentScope
- SetCustomMenus
- SetCustomToolbars
- SetPreviewEnabled
- Undo
- UnregisterRibbonX
Properties
- Active
- ActiveDocument
- ActivePage
- ActivePrinter
- ActiveWindow
- AddonPaths
- Addons
- AlertResponse
- Application
- Assistance
- AutoLayout
- AutoRecoverInterval
- AvailablePrinters
- Build
- BuiltInMenus
- BuiltInToolbars
- COMAddIns
- CommandBars
- CommandLine
- ConnectorToolDataObject
- CurrentEdition
- CurrentScope
- CustomMenus
- CustomMenusFile
- CustomToolbars
- CustomToolbarsFile
- DataFeaturesEnabled
- DefaultAngleUnits
- DefaultDurationUnits
- DefaultRectangleDataObject
- DefaultTextUnits
- DefaultZoomBehavior
- DeferRecalc
- DeferRelationshipRecalc
- DialogFont
- Documents
- DrawingPaths
- EventInfo
- EventList
- EventsEnabled
- FullBuild
- HelpPaths
- InhibitSelectChange
- InstanceHandle32
- InstanceHandle64
- IsInScope
- IsUndoingOrRedoing
- IsVisio32
- Language
- LanguageHelp
- LanguageSettings
- LiveDynamics
- MyShapesPath
- Name
- ObjectType
- OnDataChangeDelay
- Path
- PersistsEvents
- ProcessID
- PromptForSummary
- SaveAsWebObject
- ScreenUpdating
- Settings
- ShowChanges
- ShowProgress
- ShowStatusBar
- ShowToolbar
- StartupPaths
- Stat
- StencilPaths
- TemplatePaths
- TraceFlags
- TypelibMajorVersion
- TypelibMinorVersion
- UndoEnabled
- UserName
- VBAEnabled
- VBE
- Version
- Visible
- Window
- WindowHandle32
- Windows
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.