Application.OptionsGeneralEx method (Project)
Sets some options that are on the General, Schedule, and Advanced tabs of the Project Options dialog box.
Syntax
expression. OptionsGeneralEx
( _PlanningWizard_
, _WizardUsage_
, _WizardErrors_
, _WizardScheduling_
, _ShowTipOfDay_
, _AutoAddResources_
, _StandardRate_
, _OvertimeRate_
, _LastFile_
, _SummaryInfo_
, _UserName_
, _SetDefaults_
, _ShowWelcome_
, _AutoFilter_
, _MacroVirusProtection_
, _DisplayRecentFiles_
, _RecentFilesMaximum_
, _FontConversion_
, _ShowStartupWorkpane_
, _MaxUndoRecords_
)
expression A variable that represents an Application object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
PlanningWizard | Optional | Boolean | True if the Planning Wizard is active. Planning Wizard settings are on the Advanced tab ofn the Project Options dialog box. |
WizardUsage | Optional | Boolean | True if the Planning Wizard displays tips about using Project more effectively. |
WizardErrors | Optional | Boolean | True if the Planning Wizard displays messages about errors. |
WizardScheduling | Optional | Boolean | True if the Planning Wizard displays messages about scheduling problems. |
ShowTipOfDay | Optional | Because of changes in the Project object model, this argument no longer has an effect. It's retained for backward compatibility. | |
AutoAddResources | Optional | Boolean | True if resources are automatically added to the resource pool. |
StandardRate | Optional | Variant | The default standard pay rate for resources. |
OvertimeRate | Optional | Variant | The default overtime pay rate for resources. |
LastFile | Optional | Boolean | True if the last opened file is automatically opened when Project starts. |
SummaryInfo | Optional | Boolean | True if the Project Information dialog box appears when a new project is created. |
UserName | Optional | String | The name of the current user. |
SetDefaults | Optional | Boolean | True if the values of AutoAddResources, StandardRate, and OvertimeRate are used as default values for new projects. |
ShowWelcome | Optional | Because of changes in the Project object model, this argument no longer has an effect. It's retained for backward compatibility. | |
AutoFilter | Optional | Boolean | True if the AutoFilter is active. |
MacroVirusProtection | Optional | Because of changes in the Project object model, this argument no longer has an effect. It's retained for backward compatibility. | |
DisplayRecentFiles | Optional | Boolean | True if a list of recently used files appears on the File menu. |
RecentFilesMaximum | Optional | Integer | The maximum number of recently used files to display on the File menu. Can be a number from 0 to 9. Setting RecentFilesMaximum to 0 also sets DisplayRecentFiles to False. |
FontConversion | Optional | Boolean | True if the font automatically changes when opening a file that uses a font that cannot display native characters. The FontConversion argument is ignored unless an East Asian version of Project is used. |
ShowStartupWorkpane | Optional | Because of changes in the Project object model, this argument no longer has an effect. It's retained for backward compatibility. | |
MaxUndoRecords | Optional | Variant | The maximum number of records stored in the undo stack. |
Return value
Boolean
Remarks
If an argument is omitted, the default value is specified by the corresponding settings in the Project Options dialog box.
Using the OptionsGeneralEx 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.