• Copy autotexts – like styles (W2K, O2K)

    Home » Forums » AskWoody support » Productivity software by function » MS Word and word processing help » Copy autotexts – like styles (W2K, O2K)

    Author
    Topic
    #400434

    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

    Viewing 1 reply thread
    Author
    Replies
    • #781239

      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:=””, _
      Object:=wdOrganizerObjectAutoText

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

    • #781240

      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:=””, _
      Object:=wdOrganizerObjectAutoText

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

    Viewing 1 reply thread
    Reply To: Copy autotexts – like styles (W2K, O2K)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: