WorkspaceObject.InsertObject
- Updated2025-07-21
- 1 minute(s) read
WorkspaceObject.InsertObject
Syntax
WorkspaceObject.InsertObject( obj, index)
Purpose
Inserts a WorkspaceObject at the specified index under another WorkspaceObject.
Remarks
Use the WorkspaceObject.NewFile or WorkspaceObject.NewFolder method to create a new WorkspaceObject.
Parameters
obj As WorkspaceObject
[In] Specifies the WorkspaceObject to be insert.
index As Long
[In] Specifies the zero-based index specifying the location at which to insert the WorkspaceObject.