Table of contents
Collapse the table of content
Expand the table of content

AccelTables.AddAtID Method (Visio)

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Creates a new object with a specified ID in a collection.


expression . AddAtID( lID )

expression A variable that represents an AccelTables object.


NameRequired/OptionalData TypeDescription
lIDRequiredLongThe window context for the new object.

Return Value



Note Starting with Visio, the Microsoft Office Fluent user interface (UI) replaces 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.

The ID corresponds to a window or context menu. If the collection already contains an object at the specified ID, the AddAtID method returns an error.

Valid IDs are declared by the Visio type library in member VisUIObjSets . Not all collections include an object for every possible ID.

© 2018 Microsoft