Paper applies to Microsoft Access 2019, 2016, 2013, 2010, 2007, and earlier.
Microsoft Access forms let you add pictures to command buttons. This is a nice way to visually identify buttons.
Microsoft Access includes pictures you can select from its Picture Builder Wizard. The buttons can be just the picture or displayed with text depending on how you set the Picture Caption Arrangement property.
You can also use your own pictures by updating the command button's Picture property. From the Property Sheet, click the [...] button for the Picture property:
When the Picture Builder wizard loads, click on the [Browse] button to select your file:
In this example, we use a graphic of an envelope called email.bmp. If you like, download it to your disk and select it.
Once you have a command button with the picture and properties you want, you may want to duplicate it on this form or to another form. Using the Windows Clipboard to copy and paste seems like the way to do that.
Unfortunately, when you copy and paste the button, the new button doesn't have the picture. From the Form Designer, the button on the left is the original that is copied. The button on the right is the pasted version:
The picture is missing from the button on the right!
In our situation, we can easily update the Picture property by selecting the graphic file again (email.bmp).
However, you may want to duplicate a button where you can't find the original graphic file. Maybe you created it a long time ago or someone else created it, so you can't find it or maybe that file changed. This minor issue suddenly becomes a serious problem.
Fortunately, we discovered a trick to modify the original command button so it can be copied and pasted with its picture.
Highlight the Picture property's value:
Delete the value and press Enter. This dialog box appears:
Press the [No] button.
It would seem like we did nothing, but surprise! The Picture property changed. Instead of the file name, it is now (bitmap):
After you do that, you can copy and paste the command button and preserve the picture:
The drawback is the name of the graphic file is gone from the Picture property. That may be a problem if you want the original file name, but once you can copy and paste the button, there may be no need for it.
Hope you find this tip helpful!