AutoCorrect Macro

What is the code must be added to the macro below so that it stores also up as AutoCorrect entries. I saw a utility that backs up the entries formatted too, but it is impossible to save large automatic fix, that allows to make this macro.  So, I need a macro that can back up files large AutoCorrect with entries in the format.

Void autoCorrectBackup()
"Copyright (c) 2011, Richard V. Michaels." All rights reserved.
"You have the right to use it, please just do not pretend that you wrote!"
  
On Error GoTo ErrMsg

Dim doc As Word.Document
Dim rng As Word.Range
Dim reached as Word.AutoCorrectEntry
Dim acEntries As Word.AutoCorrectEntries
MName As String Dim: mName = 'AutoCorrect Backup. "

Word.Documents.Add

With Dialogs.Item (wdDialogFileSaveAs)
. Name = Word.Options.DefaultFilePath (wdDocumentsPath) & ": Autocorrect_Backup_" & day$
If. See the <> -1 then
MsgBox "User Aborted Save, Exiting Backup", vbExclamation, mName
Exit Sub
End If
. Run
Ends with

Set doc = Word.ActiveDocument
Set the rng = Word.Selection.Range
Set acEntries = Word.AutoCorrect.Entries

For each infringement of acEntries
RNG. Text = acEnt.Name & vbTab & acEnt.value & vbCr
RNG. Collapse Word.WdCollapseDirection.wdCollapseEnd
Next achievement
   
Set rng = doc. Content
RNG. ConvertToTable Separator: = Word.wdSeparateByTabs

doc. Variables.Add("myCustomVar",false,"user","3") Name: = "ACbackup", value: = "1".

doc. Save

MsgBox "Entry AutoCorrect Backup Complete", vbOKOnly, mName
Exit Sub

Error message:
MsgBox "error:"& Err.Description, vbCritical, mName.
   
End Sub

Hello

The question you posted would be better suited in the Microsoft Developer Network Forums. I recommend you post your question in the MSDN Forums by using the link below.

http://social.msdn.Microsoft.com/forums/en-us/categories

Macro

Hope this helps

Tags: Windows

Similar Questions

  • is it possible to print a list of my entries AutoCorrect for Word 2003?

    I need to print a list of my AutoCorrect entries are stored in my microsoft office 2003? Is there a way to do that is e4asy to understand?

    Download http://word.mvps.org/FAQs/Customization/ExportAutocorrect.htm AutoCorrect.Zip

    Before you try to run it, go to tools > Macro > Security and make sure that your macro security is set to medium or low.  If it is set to high or very high, change the setting, close and reopen Word, and then double-click the file AutoCorrect.dot that you extracted the downloaded zip file.  When you click on the button 'Save', a new Word document that contains your AutoCorrect list is created.

    Don't forget to change your level of security macro level of return in his place after finished.

  • AutoCorrect has learned the word that breaks down when it is typed iOS 10

    I've been using iOS for more than five years, it seems that my library for automatic correction has become corrupted at least for a specific name entry 'Toni smith' I

    Whenever I type the employees name AutoCorrect changes this name string to something that freezes the iOS and iPad all crashes recently I turned off auto correct - dictionary - predictive parameters and it is solved.

    ID like to use once again, AutoCorrect is their way to change a setting in the scholarly dictionary?

    At first, I thought it was just a keyboard problem, but then I went to the dictation and every time at the end of the dictation. Once again the crashes of iOS it happened in Facebook, ios e-mail and enamel with frozen then similar results to crash.

    How to reset my dictionaries through all my idevices. Happening now on ipad and iphone

    Settings > general > reset > reset the keyboard dictionary

  • iPad IOS 10 - AutoCorrect keyboard does not turn off?

    I don't know if it is a problem of IOS 10 or if it is a question of the iPad. One of the first things I do when I get a new device is turn off easily. I hate to correct automatically, but it seems not turning off itself. I was typing a message to a friend of mine and to instead keep the word I typed (Pervy) it replaces (Percy).

    I just upgraded to IOS 10 and checked to see if the AutoCorrect has been disabled or if she has it on again. Even with typing this message, it keeps replacing words on me with words that I don't type and are not what they should be. It is not a question of spelling either, so I don't know what to do to fix, but it's very annoying.

    Hello. You may also need to disable predictive. If you are using a physical keyboard, there are different settings for it. They appear only when it is connected.

  • upgrated ISO 10... where AutoCorrect

    I upgraded my Iphone 5s with new ISO 10 software.  However, I can see no longer auto correct... Please help

    Have you checked settings > general > keyboard > AutoCorrect?

  • Word file with macros trojan

    Hello world

    I have a doubt, recently I downloaded a file attachment to an e-mail, it was a MS Word file with macros and the Internet search that I discovered that it's a Trojan horse, the question is that if I downloaded the file and the Word automatically opens the file, but the context menu Macros told me that the macros are disabled and ask me if I still wanted to open of course, I said no!, then I deleted the file. According to it, its there any possibility that the Trojan horse could not install malicious software or opening certain ports? What I have to worry about something, in the case of installed malware of this macro, restore my mac, the problem is complete?

    Thank you.

    Its there any possibility that the Trojan horse could not install malicious software or opening certain ports?

    N ° No. Zero.

    I have to worry about something,.

    Peace in the world, perhaps. Other than that, no. Do not lose sleep over this kind of thing. You have a Mac.

  • AutoCorrect Greek in iMessage

    When I write messages in Greek on my iPhone it autocorrects, repair spelling upward and putting in the right accents.  Very useful.  But it works the same way in iMessage when I write my MacBook Air.  Can someone help me turn on AutoCorrect Greek?

    Thank you very much.

    You can't turn on it because Apple does not provide this functionality for the Greek with OS X.  You can request via

    http://www.Apple.com/feedback

    Some people add a spell checker Greek 3rd part, I don't know how it works.

    http://milaraki.com/blog/2010/11/Greek-spelling-at-pages-how-to/

  • Mac Mail: Spell checking, AutoCorrect off?

    Older versions of mail were good. New version seems quite willing that the spell checker auto correction required, and without no spelling correction at all.

    It is a nightmare for dyslexics, we want to underscore red (as in this box here) to inform that we'll type wrongly, but we don't want EVER a word randomly mortise in where we can see it happened. Good spelling, AutoCorrect absolute nightmare with emails going to full of gibberish characters.

    Why have silly programmers at Apple set up like that? If my boss fiddled with my work to make me look like an idiot I could him sacked by HR. But coders numpty at Apple think it's ok to bully customers who bought faithfully their expensive products for decades with completely bad and cruel decisions that cannot be changed.

    Can they? Please tell me that there is a work around. Please?

    And while I'm here - can do us to stop this site suddenly add text as I type to the top line as I type. That is just put cruelty on top of everything else.

    Thank you

    PS Can not update my details: now on El Cap 11.6

    System Preferences > keyboard > text tab > uncheck: automatically fix spelling.

    It is a systemic framework.

  • From today, many words I type, for example "of" "and" and "type" AutoCorrect for the word "nyoom". How can I fix?

    From today, many words I type, for example "of" "and" and "type" AutoCorrect for the word "nyoom". What nyoom? I'm not how to turn off auto correct, I know how to do this. I'm trying to understand what happened to my iPad, and I would like to address them.

    iPad 2 Air

    iOS version 9.3.1

    I think someone pulled a prank on you.

    https://www.Buzzfeed.com/expresident/nyoom-nyoom-nyoom?

    Check the automatic correction feature!

  • Unlearn the misspelled words in the AutoCorrect?

    I know how to force the Mac to "unlearn" misspelled words.

    Is there a way to iOS to edit, remove or unlearn misspelled words or misspelled by me at some point in time and are now used to correct automatically, or auto suggestion?

    Pope, other than a restore like new I don't know a way. I wonder what happens if AutoCorrect is turned off followed by a forced reboot. Who would be left to zero anything?

  • Lately Firefox is no longer recognizing macros Macro Express and upper and down arrows do more work as it should.

    Macro Express works in all other browsers (and programs), but is no longer working in Firefox.

    The arrow pointing upwards and down arrow works in all other browsers, but in Firefox, instead of moving her down (or up) a line at a time, the page will move much, much down (or climb). The Page Up and Page Down buttons work only part of the time... If an arrow down (or up arrow) has been used, the arrows Page move the page but not one page upwards or downwards... lots of pages pointing upwards or downwards.

    If I need to revert to a previous version of Firefox, I'll do that. Please tell me how to work the way they need to work things out.

    Work again in Thunderbird too. I did nothing to fix it on my machine. It was weird.

  • Tab key does not work at the macro program

    Hello

    We have an in-house custom macro program that fills the fields in a web page displayed by Firefox.

    It is the window handle of the field with the circumflex, sends a string of WM_CHAR messages to fill it with text, sending a WM_CHAR message with a TAB character to change areas and repeat the above for the next field.

    This morning 15 Firefox updated itself, and now the program macro does not work. Specifically, Firefox is no longer changes fields form when it receives a tab character, and everything goes in the first field.

    No idea what happened?

    Better yet, there is a topic a chance: parameter of config to change to make it work again?

    Failing that, is it possible to revert to the previous version of Firefox 15?

    Thank you.

    Jack

    Good... ignore the above. It is a real problem with the update of Firefox 15, but a member of our staff has designed a work around for our macro program.

    See you soon.

    Jack

  • How to assign a macro key to type the email address?

    How can I assign a macro key to type my email address?
    A lot of sites that use under the user name email address required. 24 characters is a lot of typing.
    My OS is Windows 7 Home Premium.

    Try the extension of cuts:

  • Access cannot find the macro

    Hello everyone!

    I have a damaged database. I decided to try to restore. VD, I created a new database and imported all the tables, queries, forms, reports, macros of corrupted to the new database.

    However, when I try to open most of the forms, I get the error message:

    "Microsoft Office Access cannot find the macro 'TrackDBaseForms '.

    The macro (or its macro group) does not exist, or the macro is new, but has not been saved... »

    This basis has worked for a year, and I never had this problem. A Google search returns no results. However, it is obviously not in the macros page, or in any code I can find.

    I have supports this database for a year and have never encountered this missing macro. A Google search returns no results, so I guess it's something that the developers at the beginning. However, it is obviously not in the macros page, or in any code I can find.

    The corrupted database is such a State that it will not be open to all: the main form that is set to open at startup corrupts. MS Access 2007, size 500mg.

    Thank you!

    Have u tried looking for hidden objects?
    Go to Tools/Options and view the hidden objects to open the database without starting.  You can press the SHIFT key , and then open the DB. Note You may need to do this a few times.

    I hope that this recommendation will help you. In extreme cases, you can restore the data file via the repair tool of ms access as the Access Recovery Toolbox . http://www.oemailrecovery.com/access_repair.html  

  • exponent of AutoCorrect

    Hey all, its been a long time since I've used mac and return to it after Microsoft for many years, I have a lot of questions but it is one that would allow me to save time and the other I can't understand.

    I want to use AutoCorrect to put in "Fe2 +' when I type"fe2 ".

    I (finally) found the AutoCorrect option in system prefrences, but I can't understand how to add the superscrypt to the correction.

    I know that I can type and use the keys, but believe me, it's not the only one and some are much more troublesome with multiples and superscrypt layers

    Thanks in advance

    I'm happy to go digging into the system files and the registry, just point me in the right direction

    Two things that work hand in hand are the Edit menu: Emoji menu item & symbols (just a cryptic name for the character Panel) and system preferences: keyboard: text panel (replacement). In the character Panel, you can type the word Exhibitor in the search engine, and all Unicode characters that are returned are exhibitors (e.g. +, -, (,), 1... n).

    The thing with the replacement text is to use a 2 or more replace character sequence which can perform the substitution of characters with to meet your needs in explaining, without interference of regular hits. Sometimes I always use 2 ^ to represent an exhibitor at 2.

    1. In System Preferences: keyboard Panel: text tab, click the symbol and in the column replace, enter fe2 +.
    2. Tab in the column with. Type Fe.
    3. The research of Panel of character on the exponent of Word.
      1. Double-click the 2 and the + Exhibitor characters that appear in the central panel in Unicode. It will be directly inserted in the field replace it immediately after the Fe, to give the desired Fe2 +.
      2. Press return to set the replacement value.
    4. In the Pages, select the Edit menu: Substitutions: menu text replacement element.

    You also have Pages: Format menu: fonts: Baseline: Exhibitor (control-command-sign) and index (control-command-sign) keyboard at your disposal of the sequences.

Maybe you are looking for