## AutoCorrect - transfer between dictionaries ##

W

Wai

Product: MS Office 2002
Different dictionaries used will affect the entries of
AutoCorrect.

In short, AutoCorrect is dictionary-specific.


Q:
How can I transfer custom AutoCorrect entries from one
dictionary to another?
(don't tell me to input them bit by bit or I will die >.<)
 
M

Mike Williams [MVP]

Wai said:
Product: MS Office 2002
Different dictionaries used will affect the entries of
AutoCorrect.

AutoCorrect is locale/language-specific.
Q:
How can I transfer custom AutoCorrect entries from one
dictionary to another?
(don't tell me to input them bit by bit or I will die >.<)

Some AutoCorrect entries (those with formatting like smiley faces) are
stored in the document template. Plain text entries are stored in
locale/language-specific .ACL files.

Are you trying to transfer entries betweem files on different computers or
....? It has to be done via hand or via Macro - there's no tool to open up
ACL files for simple editing.

Mike Williams - Office MVP http://www.mvps.org/faq/

Please respond in the same thread on this newsgroup - not by email!
Include details of your application and Windows versions, plus any
service pack updates. Answers may also be found by reading recent
posts, checking the FAQs or searching the relevant Google archive at.
http://groups.google.com/groups?group=microsoft.public
 
B

Beth Melton

Hi Wai,

AutoCorrect is language specific rather than dictionary specific.

You could try using the AutoCorrect.dot add-in to create a Backup
documents containing your AutoCorrect entries for the default language
and then copy/paste the entries from one backup document to the other.
Then you could switch your default language and utilize the Restore
command to add them to the AutoCorrect file for the language you
prefer.

You can obtain the AutoCorrect.dot download from:
http://mvps.org/word/Downloads/index.htm

--
Please post all follow-up questions to the newsgroup. Requests for
assistance by email can not be acknowledged.

~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP

Word FAQ: http://mvps.org/word
TechTrax eZine: http://mousetrax.com/techtrax/
MVP FAQ site: http://mvps.org/
 
W

Wai

Hi.
I do think AutoCorrect is dictionary-specific.
For exmaple, even for the English but with different
dialects have different Autocorrect entries.

Each dictionary seem to have its own AutoCorrect list, so
I say they are dictionary-specific.

Or maybe it is also valid to say language-specific as the
same English with different dialect can also be regarded
as a different language. It's a matter of preference.

I would like to transfer all my user-defined AutoCorrect
entries from US dictionary to UK dictionary.

I will try the download and see whether it is feasible.
Thanks.
 
W

Wai

Error Reporting
I can't use the utlity in AutoCorrect.dot
Error occurred in the middle of transfer.
A few are failed to transfer.

The error of the marco is in this line:
MyRange.Text = Application.Autocorrect.Entries
(x).RichText

How to do?
 
B

Beth Melton

Hi Wai,

The AutoCorrect.dot utility you are using is a modified version of the
Microsoft AutoCorrect.dot that comes with Office to accommodate
various errors. For example the MS AutoCorrect utility would error on
AutoCorrect entries that contain tables and paragraph marks.

If your AutoCorrect entries do not contain paragraph marks or tables
then you might try the MS utility found in Microsoft
Office\Office10\Macros folder.

If you do not have this template then it can be installed in
Add/Remove Programs in the Office XP installation under Word\Wizards
and Templates\More Templates and Macros.

Try using the MS utility first and if that doesn't work perhaps I can
work out why the code is generating an error and provide a corrected
utility.

--
Please post all follow-up questions to the newsgroup. Requests for
assistance by email can not be acknowledged.

~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP

Add this newsgroup to Outlook Express!
news://msnews.microsoft.com/microsoft.public..office.misc

Word FAQ: http://mvps.org/word
TechTrax eZine: http://mousetrax.com/techtrax/
MVP FAQ site: http://mvps.org/
 
W

Wai

I have tried both.
Both got stuck at the same place.

The error is as follows:
Run-time error '5941':
The requested member of the collection does not exist.

The error code is:
[NB: be careful about the line breaking due to psting in
newsgroup]
- .TypeText
Text:=Application.AutoCorrect.Entries.Item(x).Name


The relevant part of the code is:
[NB: be careful about the line breaking due to psting in
newsgroup]
TotalACEntries = Application.AutoCorrect.Entries.Count
For x = 1 To TotalACEntries
With Selection
.TypeText
Text:=Application.AutoCorrect.Entries.Item(x).Name
.TypeText vbTab

'check for formatting and insert RTF text if
necessary
If Application.AutoCorrect.Entries.Item
(x).RichText = True Then
Application.AutoCorrect.Entries(x).Apply
Range:=Selection.Range
Else
.TypeText
Text:=Application.AutoCorrect.Entries.Item(x).Value
End If

.TypeText vbTab
.TypeText
Text:=Application.AutoCorrect.Entries.Item(x).RichText
.TypeParagraph
End With
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top