Results 1 to 2 of 2
  1. #1
    3 Star Lounger
    Join Date
    Aug 2002
    Location
    Denmark
    Posts
    347
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Copy autotexts - like styles (W2K, O2K)

    Autotexts

    Is it possible to copy autotexts between files in the same way as it is for styles?
    (with the "style organizer")

    Can it be easily done programmaticly?

    Thanks
    Bests,
    RD


    PS: Wish there were a knob on the TV to turn up the intelligence. There's a knob called "brightness," but that doesn't work

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Copy autotexts - like styles (W2K, O2K)

    The Organizer (Tools | Templates and Add-Ins..., click Organizer...) has four tabs:
    - Styles
    - AutoText
    - Toolbars
    - Macro Project Items (this is the caption in Word 2002, I think it was just Macros in older versions)

    If you want to copy an AutoText item in code, this is what the macro recorder comes up with:

    Application.OrganizerCopy _
    Source:= "C:SomeFolderSourceTemplate.dot", _
    Destination:= "C:OtherFolderTargetTemplate.dot", _
    Name:="<name of AutoText item>", _
    Object:=wdOrganizerObjectAutoText

    Look up OrganizerCopy in the Word VBA help for more info.

Posting Permissions

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