Results 1 to 4 of 4
  1. #1
    New Lounger
    Join Date
    Aug 2002
    Location
    Costa Mesa, California, USA
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Template Caption (English/Office/XP)

    <font face="Comic Sans MS">I am creating some templates and am stuck on something.
    If you look at the "Elegant Fax.Dot" template that comes with office,
    you'll see that documents created from it have "Document# - Fax Coversheet" in the titlebar.
    Any idea where the Fax Coversheet part comes from?</font face=comic>

  2. #2
    Super Moderator
    Join Date
    Jan 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    3,852
    Thanks
    4
    Thanked 259 Times in 239 Posts

    Re: Template Caption (English/Office/XP)

    There is some code in the created file that looks like this
    ActiveDocument.ActiveWindow.Caption = ActiveDocument.ActiveWindow.Caption & " - Fax Coversheet"

    It is located in the Document_New sub in the ThisDocument area.
    Andrew Lockton, Chrysalis Design, Melbourne Australia

  3. #3
    New Lounger
    Join Date
    Aug 2002
    Location
    Costa Mesa, California, USA
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Template Caption (English/Office/XP)

    Thanks, Andrew. This worked just fine.
    Do you know what version of word this was enabled in?

  4. #4
    Super Moderator
    Join Date
    Jan 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    3,852
    Thanks
    4
    Thanked 259 Times in 239 Posts

    Re: Template Caption (English/Office/XP)

    I don't know what version of Word this was enabled in. I had never noticed it as I don't think very highly of the microsoft templates and never use them.

    It is certainly enabled in Word 2000 which is where I looked when I saw your question. I would also expect it to have been present in the Word 97 version but I don't have that loaded and can't check it. Prior to that, the macro language would have been different and so the code would certainly have been different although the same functionality may have been there.
    Andrew Lockton, Chrysalis Design, Melbourne Australia

Posting Permissions

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