OptionsGeneral Method

Sets general options.

Syntax

expression**.OptionsGeneral(PlanningWizard, WizardUsage, WizardErrors, WizardScheduling, ShowTipOfDay, AutoAddResources, StandardRate, OvertimeRate, LastFile, SummaryInfo, UserName, SetDefaults, ShowWelcome, ShowToolTips, AutoFilter, MacroVirusProtection, DisplayRecentFiles, RecentFilesMaximum, FontConversion, ShowStartupWorkpane)**

*expression   *     Optional. An expression that returns an Application object.

PlanningWizard    Optional Boolean. True if the Planning Wizard is active.

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    Due to changes in the Project object model, this argument no longer has an effect. It has been retained for backwards 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    Due to changes in the Project object model, this argument no longer has an effect. It has been retained for backwards compatibility.

ShowToolTips    Due to changes in the Project object model, this argument no longer has an effect. It has been retained for backwards compatibility.

AutoFilter    Optional Boolean. True if the AutoFilter is active.

MacroVirusProtection    Due to changes in the Project object model, this argument no longer has an effect. It has been retained for backwards 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 Boolean. True if the File New sidepane is displayed at startup. The default value is True.

Remarks

If an argument is omitted, its default value is specified by the current setting on the General tab of the Options dialog box.

Using the OptionsGeneral method without specifying any arguments displays the Options dialog box with the General tab selected.

Applies to | Application Object

See Also | AutoFilter Method | OptionsCalendar Method | OptionsEdit Method | OptionsSave Method | OptionsSchedule Method | OptionsSpelling Method | OptionsView Method | OptionsWorkgroup Method