Application.ShowAddNewColumn method (Project)
Shows or hides the Add New Column column at the right side of the active sheet view.
Syntax
expression. ShowAddNewColumn
( _Show_
)
expression An expression that returns an Application object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
Show | Optional | Boolean | True if the Show 'Add New Column' interface option is selected. False if the option is cleared. The default value is True. |
Return value
Boolean
Remarks
The ShowAddNewColumn method does not apply to views that don't use tables, such as the following: Network Diagram (PERT chart), Task Entry, Resource Entry, Calendar, or Timeline.
If a view uses a table, you can set individual views to show the Add New Column column. To open the Table Definition dialog box for a view, do the following on the VIEW ribbon:
In the Other Views drop-down list, open the More Views dialog box, and then edit the view to find the table that the view uses. For example, the Task Usage view uses the Usage table.
Close the View Definition dialog box and the More Views dialog boxes.
In the Tables drop-down list, open the More Tables dialog box, select the table, and then click Edit.
Select or clear the Show 'Add New Column' interface option in the Table Definition dialog box.
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.