Application.OptionsViewEx method (Project)
Sets display options for the General, Display, and Advanced tabs of the Project Options dialog box.
Syntax
expression. OptionsViewEx
( _DefaultView_
, _DateFormat_
, _ProjectSummary_
, _DisplayStatusBar_
, _DisplayEntryBar_
, _DisplayScrollBars_
, _CurrencySymbol_
, _SymbolPlacement_
, _CurrencyDigits_
, _ProjectCurrency_
, _DisplayOutlineNumber_
, _DisplayOutlineSymbols_
, _DisplayNameIndent_
, _DisplaySummaryTasks_
, _DisplayOLEIndicator_
, _DisplayExternalSuccessors_
, _DisplayExternalPredecessors_
, _CrossProjectLinksInfo_
, _AcceptNewExternalData_
, _DisplayWindowsInTaskbar_
, _DisplayScreentips_
, _CalendarType_
, _Use3DLook_
)
expression A variable that represents an Application object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
DefaultView | Optional | String | The name of the default view. |
DateFormat | Optional | Long | The date format. Can be one of the PjDateFormat constants. |
ProjectSummary | Optional | Boolean | True if the project summary task is visible. |
DisplayStatusBar | Optional | Boolean | True if the status bar appears. |
DisplayEntryBar | Optional | Boolean | True if the entry bar appears. |
DisplayScrollBars | Optional | Boolean | True if scroll bars appear. |
CurrencySymbol | Optional | String | The symbol to use for currency values. |
SymbolPlacement | Optional | Long | The position to display the currency symbol in currency values. Can be one of the following PjPlacement constants: pjAfter, pjAfterWithSpace, pjBefore, or pjBeforeWithSpace. |
CurrencyDigits | Optional | Integer | The number of digits following the decimal point in currency values. |
ProjectCurrency | Optional | Variant | The three-character ISO standard currency code. For example, USD is the code for United States dollars. The Currency drop-down list on the Display tab includes all of the currency codes that Project supports. |
DisplayOutlineNumber | Optional | Boolean | True if the outline numbers for tasks appear. |
DisplayOutlineSymbols | Optional | Boolean | True if the outline symbols for tasks appear. |
DisplayNameIndent | Optional | Boolean | True if the names of tasks are indented. |
DisplaySummaryTasks | Optional | Boolean | True if summary tasks appear. |
DisplayOLEIndicator | Optional | Boolean | True if the OLE indicator appears. |
DisplayExternalSuccessors | Optional | Boolean | True if successors in an external project should be displayed. |
DisplayExternalPredecessors | Optional | Boolean | True if predecessors in an external project should be displayed. |
CrossProjectLinksInfo | Optional | Boolean | True if the Links Between Projects dialog box appears when a project containing cross-project links is opened. |
AcceptNewExternalData | Optional | Boolean | True if new or changed data from an external project is automatically accepted when a project is opened. If CrossProjectLinksInfo is True, AcceptNewExternalData is ignored. |
DisplayWindowsInTaskbar | Optional | Boolean | True if project windows appear on the task bar and in the task list. |
DisplayScreentips | Optional | Boolean | True if Project displays screen tips for items such as link lines or column headers. |
CalendarType | Optional | Integer | Sets the type of calendar for displaying Project content on the screen. Can be one of the pjCalendarType values. |
Use3DLook | Optional | Boolean | True if bars and shapes in Gantt views have a 3-dimensional appearance; otherwise, False. |
Return value
Boolean
Remarks
If an argument is omitted, the default value is specified by the corresponding setting on the General, Display, or Advanced tab of the Project Options dialog box.
Using the OptionsViewEx method without specifying any arguments displays the Project Options dialog box with the General tab selected.
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.