Application.GetOption (Access)

The GetOption method returns the current value of an option in the Access Options dialog box, available by choosing the Microsoft Office button, and then choosing Access Options.

The GetOption and SetOption methods provide a means of changing environment options from Visual Basic code. With these methods, you can set or read any option available in the Access Options dialog box. The available option settings depend on the type of option being set. There are three general types of options:

GetOption (OptionName)

OptionName: The name of the option. For a list of option name argument strings, see Set options from Visual Basic.


Application.SetOption "Show Status Bar", True