Application.InsertBlankRow Method (Project)

Inserts a blank row above the selected task row or cell in a Gantt chart.

Version Information

Version Added: Project 2010

Syntax

expression .InsertBlankRow

expression An expression that returns an Application object.

Return Value

Boolean

Remarks

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 <Type Task Name Here>.