Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-15-2017, 04:42 AM
macropod's Avatar
macropod macropod is offline Do not add two spaces after Mr. or Ms. Windows 7 64bit Do not add two spaces after Mr. or Ms. Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by jeffreybrown View Post
Two questions:

First, using the macro above, how can it be modified to execute on only the selected text?
Second, can it be executed thru a right click event?
1. For the original macro, change:
.Wrap = wdFindContinue
to:
.Wrap = wdFindStop


2. No, but you could assign it to a keyboard shortcut.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #2  
Old 02-15-2017, 05:39 AM
jeffreybrown jeffreybrown is offline Do not add two spaces after Mr. or Ms. Windows Vista Do not add two spaces after Mr. or Ms. Office 2007
Expert
Do not add two spaces after Mr. or Ms.
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default

Thank you for your help, both. I will test this at work today.

Quote:
Originally Posted by macropod View Post
2. No, but you could assign it to a keyboard shortcut.
Paul, usually when assigning the shortcut key it is done via, Alt + F8, select the macro, Options and assign the shortcut key.

Since this doc will be used by many and on many different computers, is it possible to carry the assigning of the shortcut key in the macro itself?

It seems I've searched for this before and the answer was the shortcut key has to be set on each individual machine.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Do not add two spaces after Mr. or Ms. Two spaces after a period mysterytramp Word 14 11-06-2017 02:01 PM
Do not add two spaces after Mr. or Ms. Spaces in a chart AIKA Excel 3 10-27-2015 01:37 AM
Do not add two spaces after Mr. or Ms. Spaces between words, help! cheffie Word 2 10-02-2013 01:59 PM
Strange spaces Trevor_Bauer Word 1 03-08-2012 11:56 AM
Spaces After Each Word jnutella Word 0 03-04-2009 02:00 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:51 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft