How to Stop Microsoft Word from Selecting the Trailing Space with a Double-Click
Question details
The user wants to select only the text of a word without the trailing space when double-clicking it.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Editing or formatting text documents where precise selection of individual words is required.
- Observed behavior
- Double-clicking a word automatically highlights both the word itself and the space immediately following it, and Word provides no standard setting to disable this.
Because Microsoft Word does not offer a built-in toggle for this selection behavior, you will need to enable the Developer tab to apply a VBA macro workaround.
Use a VBA Macro to Adjust Selection
Create a simple macro that intercepts the double-click action and automatically shrinks the selection to exclude the trailing space.
Since Word lacks a native option to disable trailing space selection, utilizing a VBA (Visual Basic for Applications) macro is the most effective workaround. This script runs whenever you double-click, instantly checking if the last character is a space and removing it from your selection.
Go to File > Options > Customize Ribbon. Check the box next to 'Developer' in the right-hand list of main tabs, then click OK.
Click the Developer tab on the ribbon and select 'Visual Basic', or press Alt + F11 on your keyboard.
In the VBA Editor, double-click 'ThisDocument' under your Normal template in the Project Explorer. Paste a script designed to reduce the Selection object by one character if it detects a trailing space.
If you are applying this to a specific document rather than the global template, remember to save your document as a Word Macro-Enabled Document (*.docm).
Use Keyboard Shortcuts to Deselect the Space
Manually shrink the text selection by one character using a quick keyboard shortcut immediately after double-clicking.
Try WPS Office for a Seamless Document Editing Experience
If you are frustrated by Microsoft Word's rigid settings and complex macro workarounds, consider switching to WPS Office. It provides a lightweight, user-friendly interface with excellent compatibility for your daily document editing needs, free of unnecessary complications.
- 1. Download WPS Office: Visit the official WPS Office website and download the free installer for your operating system.
- 2. Install and Launch: Follow the on-screen instructions to install the software, then launch WPS Writer.
- 3. Open Your Documents: Drag and drop your existing Microsoft Word documents directly into WPS Writer to continue editing with full format compatibility.

Frequently Asked Questions
Why does Word automatically select the space after a word?
Microsoft designed Word to include the trailing space during a double-click selection to make cut-and-paste operations smoother. This prevents users from accidentally leaving behind double spaces when moving words from one sentence to another.
Can I turn off 'smart paragraph selection' to fix this space selection issue?
No. Disabling 'Use smart paragraph selection' in Word's Advanced settings changes how paragraph marks are highlighted, but it does not stop the trailing space from being selected when you double-click a single word.
Is there a standard setting to change double-click behavior in Microsoft Word?
Currently, Microsoft Word does not offer a native toggle in its Options menu to modify double-click text selection. Users must rely on VBA macros or manual keyboard adjustments (like Shift + Left Arrow) to alter the selection.
Will submitting feedback to Microsoft actually help?
Submitting feedback via File > Feedback directly alerts Microsoft's development team to user frustrations. If enough users request a native feature to disable trailing space selection, it may be included as a setting in future Office updates.




