Fix a Missing Command Button Caption Property in Microsoft Access VBA
Question details
The user needs to access the Caption property of a newly inserted command button in an upgraded Access application.

- Product
- Microsoft Access
- Device & OS
- not provided
- Scenario
- The user is editing command buttons and VBA code in an Access application upgraded from an older version.
- Observed behavior
- Copied command buttons expose the Caption property, but a newly inserted button does not.
Open the affected form in Design View and identify both a working copied button and the newly inserted control. Check whether the database file has an .mdb or .accdb extension.
Verify the Control Type and Recreate the Command Button
Use this approach first to check whether the new object is a standard Access command button.
In the Navigation Pane, right-click the affected form and select Design View.
Select the new control and open Design > Property Sheet. Check the selection at the top of the Property Sheet to confirm that it is a command button, then look for Caption on the Format or All tab.
Select a copied button that has a Caption property and compare its control type and properties with those of the new control in the Property Sheet.
On the Design tab, choose Button from the Controls group and place it on the form. Select the new button and check its Caption property in the Property Sheet.
Use the button's name from the Property Sheet in form VBA, for example, Me!CommandButtonName.Caption = "Run", replacing CommandButtonName with the actual control name.

Check and Convert an Older MDB Database
Consider conversion if the application is still in the older MDB format and the standard button check does not resolve the issue.
Use WPS Office for Everyday Office Documents
WPS Office is a free, lightweight alternative with a familiar interface for working with documents, spreadsheets, and presentations. Its Microsoft Office format compatibility helps you move everyday files between suites. It does not repair Access controls or replace an Access database application.

Frequently Asked Questions
Where is the Caption property for an Access command button?
Open the form in Design View, select the command button, and open Design > Property Sheet. Look for Caption on the Format or All tab.
Can an MDB command button have a Caption property?
Yes. A standard Access command button can have a Caption property in an MDB database, so check the control type before assuming the file format is the cause.
How do I change a button caption in VBA?
In the form's VBA code, use the button's actual name, for example, Me!CommandButtonName.Caption = "Run". Find the control name in its Property Sheet.
Will converting an MDB to ACCDB restore the Caption property?
Not necessarily. Conversion may help with an upgraded application, but first confirm that the new object is a standard command button. After conversion, insert and test a new button in Design View.




