![]() |
|
|
|
#1
|
|||
|
|||
|
Deleting AutoCorrects is easy. It is a single instruction. Code:
AutoCorrect.Entries("TheString").Delete
Code:
AutoCorrect.Entries("Jane Doe").Delete
So. If you have a list, AND the list is made up of single paragraphs you can: a) build an array of the list and process through it OR b) process through each paragraph in the list with something like: Code:
Dim oPara As Paragraph
Dim AC_String As String
Code:
For Each oPara In ActiveDocument.Paragraphs
AC_String = Left(oPara.Range.Text, InStr(1, oPara.Range.Text, "=") - 1)
AutoCorrect.Entries("AC_String").Delete
Next
|
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Transferring Autocorrect entries from 2010 to 2013
|
Tegglet | Word | 2 | 03-10-2014 06:58 PM |
Formatting autocorrect entries
|
Ray1853 | Excel | 3 | 02-22-2013 07:59 PM |
| How are you meant to print added AutoCorrect entries? | anon93 | Word | 1 | 03-27-2012 11:11 PM |
| Autocorrect entries with astrix at the end | dswapp | Word | 2 | 02-14-2011 09:34 AM |
| Using Word autocorrect and autotext entries in outlook | dswapp | Outlook | 2 | 11-24-2010 10:18 AM |