Replace the Cut Command in an Access MDB-to-ACCDB Macro
Question details
Replace a Cut command that is not recognized in an Access macro after converting an MDB database to ACCDB.
- Product
- Microsoft Access
- Device & OS
- not provided
- Scenario
- An MDB database containing a macro is converted to ACCDB, and the macro needs to cut the selected content.
- Observed behavior
- The converted macro may not recognize the original Cut command, although Cut can still be run through a menu command action.
Open the converted ACCDB database in Access and locate the macro that contains the Cut command. Make sure the macro will run when an editable control or other valid target has focus.
Replace Cut with the RunMenuCommand macro action
Use RunMenuCommand to execute Cut in the converted Access macro, and enable trusted content if necessary.
In the Navigation Pane, right-click the affected macro and select Design View.
On the macro designer's Design tab, select Show All Actions so RunMenuCommand is available.
Replace the unrecognized Cut action with RunMenuCommand, then set its Command argument to Cut.
If Access displays a security warning for a database you trust, select Enable Content. Alternatively, use File > Options > Trust Center > Trust Center Settings > Trusted Locations to add a trusted folder.
Save the macro, select content in an editable control, and run the macro to check that Cut works.
Work with Office documents in WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for working with Office documents and moving between common file formats. It does not fix Access macros or replace an Access database application.

Frequently Asked Questions
Where is Show All Actions in Access?
Open the macro in Design View and select Show All Actions on the macro designer's Design tab.
How do I run Cut from an Access macro?
Add the RunMenuCommand action in the macro designer and set its Command argument to Cut. Run it when an appropriate editable target has focus.
Why does Access block the macro after conversion?
Access may restrict macro actions when the database is not trusted. If you trust the file, select Enable Content on the security warning or place it in a trusted location configured through the Trust Center.
Can WPS Office fix the Access macro or open the database application?
No. Edit and test the macro in Microsoft Access. WPS Office can work with common Office documents and spreadsheets, but it does not replace an MDB or ACCDB database application.




