Commands.Insert
- Mise à jour2025-07-21
- Temps de lecture : 1 minute(s)
Commands.Insert
Syntax
Commands.Insert( item, insertBefore)
Purpose
Adds a new item to the collection.
Parameters
item As Command
[In] Specifies the command object to insert.
insertBefore As Long
[In] Specifies the index of the existing command before which to insert the new command. When you want the new command to insert at the end, pass -1 to this parameter.