Results 1 to 3 of 3
  1. #1
    3 Star Lounger
    Join Date
    Nov 2002
    Posts
    387
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Can't place document name in window (Word 2000/sr1)

    Opening a word document via VBA I cannot make the window of the document have the name I desire. When I set the caption property I still get DocumentX - caption name. How do I control the name that appears in the upper left corner of the document window?

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

    Re: Can't place document name in window (Word 2000/sr1)

    The caption of a Word window is "ActiveWindow.Caption - Application.Caption". You probably set Application.Caption, you should set ActiveWindow.Caption instead.

  3. #3
    3 Star Lounger
    Join Date
    Nov 2002
    Posts
    387
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Can't place document name in window (Word 2000/sr1)

    Thank you! Yes that is what I was doing.

Posting Permissions

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