PC Review


Reply
Thread Tools Rate Thread

Create a list of words "not to use"

 
 
Olivia
Guest
Posts: n/a
 
      22nd Feb 2008
Is there a way to create a list of words in MS Word, so when spell check is
performed it will catch those words.

Or is there a way to create a list of words not to use when typing a word
document.

Thanks
 
Reply With Quote
 
 
 
 
Microsoft
Guest
Posts: n/a
 
      22nd Feb 2008
> Is there a way to create a list of words in MS Word, so when spell
> check is performed it will catch those words.
>
> Or is there a way to create a list of words not to use when typing a
> word document.
>
> Thanks


Create a new user dictionary?


 
Reply With Quote
 
Greg Maxey
Guest
Posts: n/a
 
      22nd Feb 2008
Olivia,

I am not sure if you can do that with the spellchecker. You could create a
macro to check the document for bad or inappropriate words.

I haven't thought about this in great detail so there could be a much better
way, but basically you would create a collection of the bad words with a key
(the key is the same word repeated) then you attempt to add each word in the
document to the collection. If the word is a bad word already in your
collection then you can trap the error to process the bad word.

Sub FlagBadWords()
Dim colBadWords As Collection
Dim oWord As Range
Set colBadWords = New Collection
'Create your collection of bad words
With colBadWords
.Add "booger", "booger"
.Add "poop", "poop"
End With
For Each oWord In ActiveDocument.Words
On Error GoTo Err_Handler
colBadWords.Add LCase(Trim(oWord)), LCase(Trim(oWord))
colBadWords.Remove LCase(Trim(oWord))
Err_ReEntry:
On Error GoTo 0
Next
Exit Sub
Err_Handler:
If Err.Number = 457 Then
MsgBox oWord & " is a bad word and will be flagged."
If oWord.Characters.Last = " " Then oWord.MoveEnd wdCharacter, -1
oWord.HighlightColorIndex = wdBrightGreen
Resume Err_ReEntry
Else
MsgBox Err.Number & " " & Err.Description
End If
End Sub


--
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Greg Maxey - Word MVP

My web site http://gregmaxey.mvps.org
Word MVP web site http://word.mvps.org
~~~~~~~~~~~~~~~~~~~~~~~~~~~~



Olivia wrote:
> Is there a way to create a list of words in MS Word, so when spell
> check is performed it will catch those words.
>
> Or is there a way to create a list of words not to use when typing a
> word document.
>
> Thanks



 
Reply With Quote
 
Beth Melton
Guest
Posts: n/a
 
      22nd Feb 2008
Yes. What you want is called an Exclusion Dictionary. You add your "not to
use" words in it and Word will flag those words as spelling errors.

If you need specifics on how to create this please let us know the version
of Word you are using.
~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP
https://mvp.support.microsoft.com/profile/Melton

What is a Microsoft MVP? http://mvp.support.microsoft.com/gp/mvpfaqs

"Olivia" <(E-Mail Removed)> wrote in message
news:27D1A28D-3C42-41FC-B700-(E-Mail Removed)...
> Is there a way to create a list of words in MS Word, so when spell check
> is
> performed it will catch those words.
>
> Or is there a way to create a list of words not to use when typing a word
> document.
>
> Thanks



 
Reply With Quote
 
Suzanne S. Barnhill
Guest
Posts: n/a
 
      22nd Feb 2008
Yes, see http://word.mvps.org/FAQs/General/Ex...ordFromDic.htm

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

"Olivia" <(E-Mail Removed)> wrote in message
news:27D1A28D-3C42-41FC-B700-(E-Mail Removed)...
> Is there a way to create a list of words in MS Word, so when spell check
> is
> performed it will catch those words.
>
> Or is there a way to create a list of words not to use when typing a word
> document.
>
> Thanks
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I create a rule to move based upon words in the "from" col gkmcnees Microsoft Outlook Discussion 5 14th Sep 2008 02:10 AM
cannot use "Create List" and "Share Workbook" same time =?Utf-8?B?RGV2ZW5kcmE=?= Microsoft Excel Misc 0 26th Oct 2006 06:05 AM
How to delete prior words from the dropd'n "Look For" search list =?Utf-8?B?Q2FyYm9uZGFk?= Microsoft Outlook Discussion 4 26th Jun 2006 04:47 AM
When I used "application/vnd.ms-excel" to export table's content to Excel file. It would be showed between "Confused" words and normally words randomly.How can i sloved it? Benny Ng Microsoft Dot NET Framework 1 13th Mar 2005 01:19 PM
When I used "application/vnd.ms-excel" to export table's content to Excel file. It would be showed between "Confused" words and normally words randomly.How can i sloved it? Benny Ng Microsoft C# .NET 1 13th Mar 2005 01:19 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:26 AM.