Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-08-2016, 02:08 PM
FTL FTL is offline How to select different words at once Windows 8 How to select different words at once Office 2016
Novice
How to select different words at once
 
Join Date: Mar 2016
Posts: 5
FTL is on a distinguished road
Default How to select different words at once

I have big documents with severalllll hundred pages and i'm a little tired to correct word by word every single page. I'm now ready to enter the realms of despair lol


I found it a little bit odd that MS still doesn't allow us to select\highlight different words at once on the navigation pane, using something as simple as semicolon or whatever alike.

So is there any soul out there that can help me out with some kind of macro to search different words at once - i don't know if the macro works for all kinds of languages, i need a Portuguese version, or an English written macro that allows to search Portuguese words.

You have no idea how this would save my life lol
Reply With Quote
  #2  
Old 03-08-2016, 02:44 PM
macropod's Avatar
macropod macropod is offline How to select different words at once Windows 7 64bit How to select different words at once Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
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

How are you doing these corrections - via spell-check, via Find/Replace, or just overtyping them one at a time?
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 03-08-2016, 04:31 PM
FTL FTL is offline How to select different words at once Windows 8 How to select different words at once Office 2016
Novice
How to select different words at once
 
Join Date: Mar 2016
Posts: 5
FTL is on a distinguished road
Default

via search results, navigation pane. It's not a matter of replacing words automatically, but "textual cleaning", so to speak.
Reply With Quote
  #4  
Old 03-08-2016, 04:42 PM
macropod's Avatar
macropod macropod is offline How to select different words at once Windows 7 64bit How to select different words at once Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
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

What is the search based on? What kind of content are you searching for and what rules, if any, could be used to do the "textual cleaning" automatically?
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #5  
Old 03-08-2016, 05:58 PM
FTL FTL is offline How to select different words at once Windows 8 How to select different words at once Office 2016
Novice
How to select different words at once
 
Join Date: Mar 2016
Posts: 5
FTL is on a distinguished road
Default

I can't do the cleaning automatically. I'm just searching for repeated and (if any) pointless or misplaced words like prepositions, adverbs, and so on. If i had everything highlighted at once on every single page, like the most common prepositions, for instance, i could read faster what is right, wrong or change it for a better sentence.
Reply With Quote
  #6  
Old 03-08-2016, 06:10 PM
macropod's Avatar
macropod macropod is offline How to select different words at once Windows 7 64bit How to select different words at once Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
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

Word has no facility for highlighting parts of speech. For prepositions, though, you could use Find/Replace to highlight them all, then remove the highlights when you're done editing. A macro you could use to expedite this is:
Code:
Sub Demo()
Application.ScreenUpdating = False
Options.DefaultHighlightColorIndex = wdYellow
Dim StrFnd As String, i As Long
StrFnd = Array("above", "about", "across", "against", "along", _
  "among", "around", "at", "before", "behind", "below", "beneath", _
  "beside", "between", "beyond", "by", "down", "during", "except", _
  "for", "from", "in", "inside", "into", "like", "near", "of", _
  "off", "on", "since", "to", "toward", "through", "under", _
  "until", "up", "upon", "with", "within")
With ActiveDocument.Range.Find
  .ClearFormatting
  .Replacement.ClearFormatting
  .Forward = True
  .Wrap = wdFindContinue
  .MatchCase = True
  .MatchWholeWord = True
  .MatchWildcards = False
  .MatchSoundsLike = False
  .MatchAllWordForms = False
  .Replacement.Text = "^&"
  .Replacement.Highlight = True
  For i = 0 To UBound(StrFnd)
    .Text = StrFnd(i)
    .Execute Replace:=wdReplaceAll
  Next
End With
Application.ScreenUpdating = True
End Sub
When you're done editing, you can re-run the macro with:
.Replacement.Highlight = False
instead of:
.Replacement.Highlight = True

For PC macro installation & usage instructions, see: http://www.gmayor.com/installing_macro.htm
For Mac macro installation & usage instructions, see: http://word.mvps.org/Mac/InstallMacro.html
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to select different words at once Capitalize one to two words if they are the only words on a line jrhlavac Word VBA 1 10-08-2015 08:19 PM
Finding Non-English Words in an English and Non-English words document mohsen.amiri Word 3 03-31-2015 11:20 PM
How to select different words at once How to mark underlined words in a sentence as A, B, C, D (beneath the words) thudangky Word 13 12-12-2013 02:22 AM
How to select different words at once Macro for select words? Megan Sprack Word 1 08-23-2012 03:03 PM
Why Words doesn’t show the style of the selected words automatically???? Jamal NUMAN Word 0 04-14-2011 03:20 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:50 AM.


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