PjMessageType enumeration (Project)

Contains constants that specify the buttons to be included in a message dialog box.

Name Value Description
pjOKCancel 1 Display OK and Cancel buttons.
pjOKOnly 0 Display OK button.
pjYesNo 2 Display Yes and No buttons.
pjYesNoCancel 3 Display Yes, No, and Cancel buttons.

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.