Displays the Insert Object dialog box, which prompts the user to insert an object.
expression. ObjectInsert
expression A variable that represents an Application object.
Boolean
The ObjectInsert method is equivalent to the Object command. For an example of how to use the Object command, see the ObjectChangeIcon method.
The ObjectInsert method has no effect if the active view is a combination view, Calendar view, Network Diagram, Relationship Diagram, or Resource Graph. In addition to these views, the ObjectInsert method has no effect unless a non-null task or resource is selected in the Task or Resource Sheet views.
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.