Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-06-2016, 01:18 AM
smallxyz smallxyz is offline how to highlight all "indexed" sentences using find and replace? Windows XP how to highlight all "indexed" sentences using find and replace? Office 2007
Novice
how to highlight all "indexed" sentences using find and replace?
 
Join Date: Feb 2016
Posts: 3
smallxyz is on a distinguished road
Default how to highlight all "indexed" sentences using find and replace?

Hi all,
My first post.

I have a bunch of sentences, something like this:

i. drfdry
ii. jhkjk
iii. jk
iv. njkl
v. jkil
v.1.1.1 jhkl
v.1.1.2 kl
v.1.1.3 jk
v.1.1.4 dfg
v.1.1.5 dfg
v.1.1.6 df
v.1.1.7 gd
v.1.1.8 fg



I would like to highlight all sentences with "indexes" (similar to a bullet form) with yellow background color.

How to do it using find and replace?
Or do I need to write a VBA?

Thanks!
Reply With Quote
  #2  
Old 02-06-2016, 01:44 AM
macropod's Avatar
macropod macropod is offline how to highlight all "indexed" sentences using find and replace? Windows 7 64bit how to highlight all "indexed" sentences using find and replace? Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
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

You could try a wildcard Find/Replace, where:
Find = <[ivxlc]{1,}.[!^13]@^13
Repalce = ^&
and you set the replacement highlight attribute. Note that the highlight will be whatever Word's current setting is.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 02-06-2016, 02:54 AM
smallxyz smallxyz is offline how to highlight all &quot;indexed&quot; sentences using find and replace? Windows XP how to highlight all &quot;indexed&quot; sentences using find and replace? Office 2007
Novice
how to highlight all &quot;indexed&quot; sentences using find and replace?
 
Join Date: Feb 2016
Posts: 3
smallxyz is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
You could try a wildcard Find/Replace, where:
Find = <[ivxlc]{1,}.[!^13]@^13
Repalce = ^&
and you set the replacement highlight attribute. Note that the highlight will be whatever Word's current setting is.


Thank you!
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Find and Replace dialog to default to "All" WaltR Word 1 01-01-2015 08:44 PM
how to highlight all &quot;indexed&quot; sentences using find and replace? Help with the "find and replace" option; character problem martinn4 Word 3 02-20-2014 03:52 AM
can find and replace instances of the "enter" key? snunicycler Word 7 05-02-2013 11:54 PM
how to highlight all &quot;indexed&quot; sentences using find and replace? Is there a way to use "find/replace" to find italics words? slayda Word 3 09-14-2011 02:16 PM
how to highlight all &quot;indexed&quot; sentences using find and replace? Find & Replace words with "/" prefix & suffix tollanarama Word 4 01-25-2011 02:19 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:13 PM.


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