Application.InsertBlankRow method (Project)
Inserts a blank row above the selected task row or cell in a Gantt chart.
expression An expression that returns an Application object.
The InsertBlankRow method corresponds to the Blank Row command in the Task drop-down list in the Insert group on the TASK tab on the ribbon. The blank row contains only a task ID number, where the empty Task Name cell is selected. Each task ID below the new row increases by one. Additional information for the new task can be added programmatically.
By comparison, the InsertTask method creates a task of the default task type, where the Task Name cell is selected with
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.