Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-20-2019, 01:25 PM
macropod's Avatar
macropod macropod is offline Find and Replace Selected Text or Macro for finding selected text Windows 7 64bit Find and Replace Selected Text or Macro for finding selected text 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 mrplastic View Post
I'm specifically trying to get the macro to use the words that I select with the cursor in the document as the "find" term to replace with a highlighted version, rather than typing terms into the box.
How do you propose to accommodate phrases, as distinct from individual words? My code accommodates words and phrases.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to find text in between two characters and then format selected text? qcom Word 5 02-19-2015 11:23 PM
Find and Replace Selected Text or Macro for finding selected text Find & selected paras with highlighted text & copy to clipboard marceepoo Word VBA 1 09-14-2012 08:20 PM
Find and Replace Selected Text or Macro for finding selected text Macro Delete Selected Text smonczka Word VBA 2 11-05-2011 03:18 AM
Mac Word - replace within selected text only. bakerbj Word 0 10-31-2011 11:47 PM
Selected text and logo in one macro marijke Word VBA 0 08-24-2009 07:01 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:24 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