How to Program a Mouse Button to Delete Text in Microsoft Word
Question details
The user wants to configure a programmable mouse button so selected text can be deleted in Microsoft Word without using the keyboard Delete key.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Editing a Word document and wanting faster deletion of selected text with a spare mouse button.
- Observed behavior
- Selected text currently requires pressing the Delete or Backspace key.
Confirm that your mouse has a spare programmable button or that you can install X-Mouse Button Control, and make sure Microsoft Word is closed before changing mouse button assignments.
Assign Delete or Backspace in your mouse manufacturer's software
Use this if your mouse includes configuration software and has a spare button you can reprogram.
Most gaming and productivity mice come with software that can map keyboard keys to mouse buttons. The assignment can be applied globally or limited to Microsoft Word.
Launch your mouse software, such as Logitech Options, Razer Synapse, or the utility supplied by your mouse manufacturer.
Click the spare mouse button in the on-screen button map or choose it from the button list.
Choose the keystroke or keyboard assignment option, then press Delete or Backspace as the target key.
Save the profile or apply the changes, open Microsoft Word, select text, and click the assigned mouse button.

Map Delete or Backspace with X-Mouse Button Control
Use this when your mouse lacks full configuration software or you want per-application control for Microsoft Word.
Use WPS Writer as a Free, Lightweight Alternative to Microsoft Word
Since mouse button programming is handled by your mouse software or Windows utility, WPS Office does not change that behavior. WPS Writer provides a free, lightweight Microsoft Word alternative that opens, edits, and saves .docx files with a familiar ribbon interface and easy migration.
- 1. Download WPS Office: Go to wps.com and click the Free Download button to get WPS Office for your operating system.
- 2. Install WPS Office: Run the installer and follow the setup prompts, then launch WPS Office.
- 3. Open a Word document in WPS Writer: Click Writer or open an existing .docx file from the WPS Office home screen, then edit, select, and delete text with the Delete key or a mapped mouse button.

Frequently Asked Questions
Will X-Mouse Button Control work with Microsoft Word?
Yes. After installing X-Mouse Button Control, select Microsoft Word in the application list or use the default profile and assign {DELETE} or {BACKSPACE} to a spare button.
Can I use the same mouse button in WPS Writer?
Yes. If you assign the button globally or create a profile for WPS Writer, the Delete or Backspace mapping also works when you select text in WPS Writer.
Do I need a special mouse to do this?
You need a mouse with at least one spare programmable button. If your mouse has no extra physical buttons, a third-party tool cannot add them.
How do I reset the mouse button to its original function?
Open the mouse software or X-Mouse Button Control, select the same button, and choose Default or No Change from the assignment list.




