Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2001
    Thanked 0 Times in 0 Posts

    How to globally edit autotext entries (Word 2000)

    We have a client that has stored "hundreds" of autotext entries in their template file. They would like a way to "globally" edit these entries and save the changes back into their template file. We do not want to have to open up each individual autotext entry and make changes but rather copy all entries to a separate file if need be for editing within word and then re-copy back the edited updated version to the template file.

    Is there a simple way to do this??

  2. #2
    Super Moderator
    Join Date
    Dec 2000
    New York, NY
    Thanked 29 Times in 27 Posts

    Re: How to globally edit autotext entries (Word 2000)


    There are three steps that are going to have to be taken:

    (1) copy out all of the autotexts into a new document
    (2) edit all of the autotexts
    (3) update each autotext entry to reflect the edited version.

    Of these three, it's hard to see how the last two could be done otherwise than manually - so that is going to be a load of work, no matter how you cut it.
    You could automate the first step like so:

    <pre>Public Sub GetAllAutotexts()
    Dim ATES As AutoTextEntries
    Dim ATE As AutoTextEntry
    Set ATES = NormalTemplate.AutoTextEntries
    For Each ATE In ATES
    Selection.TypeText "Autotext entry: " & ATE.Name & vbCr
    ATES(ATE.Name).Insert Where:=Selection.Range, RichText:=True
    Selection.TypeText vbCr & vbCr
    Next 'ATE
    Set ATES = Nothing
    Exit Sub
    End Sub


  3. #3
    Gold Lounger
    Join Date
    Dec 2000
    Hollywood (sorta), California, USA
    Thanked 0 Times in 0 Posts

    Re: How to globally edit autotext entries (Word 2000)

    I still have not written the "AutoText Manager" I mentioned years ago. If MS will allow storing
    AutoText as XML in Word 11, maybe I won't need to. But, gee, the autotext handling features
    in Word are sorely lacking -- as Adelie has just discovered.
    Kevin <IMG SRC= alt="Keep the change, ya filthy animal...">
    <img src=/w3timages/blackline.gif width=33% height=2><img src=/w3timages/redline.gif width=33% height=2><img src=/w3timages/blackline.gif width=33% height=2>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts