MsoFileNewAction enumeration (Office)

Specifies the action to take when a user clicks an item in the task pane. Used with the Add method of the NewFile object.

Name Value Description
msoCreateNewFile 1 Create a new file.
msoEditFile 0 Edit a file.
msoOpenFile 2 Open a file.

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.