Results 1 to 8 of 8
  1. #1
    4 Star Lounger
    Join Date
    Oct 2001
    Location
    New York, New York, USA
    Posts
    538
    Thanks
    0
    Thanked 1 Time in 1 Post

    Document properties (2002/SR2)

    Hi -

    Is there a way to have the Doc Properties dialog box default to the “General” tab? It seems to default to the last chosen tab.
    Thank you.

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

    Re: Document properties (2002/SR2)

    The first time you open the Properties dialog after starting Word, it will open to the Summary tab. During the rest of the session, Word will remember which tab you last used. I think that suits most users. I don't see a way to force Word to display the General tab.

  3. #3
    4 Star Lounger
    Join Date
    Oct 2001
    Location
    New York, New York, USA
    Posts
    538
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Document properties (2002/SR2)

    Thank you.

  4. #4
    2 Star Lounger
    Join Date
    Feb 2001
    Location
    Wellington, New Zealand
    Posts
    143
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Document properties (2002/SR2)

    The following macro code seems to work for me (using Word 2002):

    SendKeys "+{TAB}{LEFT 4}"
    WordBasic.FileProperties
    AppActivate "Microsoft Word"

    However:
    1. This sometimes causes a fair amount of screen updating, which setting ScreenUpdating to False doesn't seem to prevent.
    2. If the dialog is cancelled, an error is generated. I presume it's possible to prevent that, but I haven't tried to do so.
    3. I don't know if it's possible to replace the built-in File | Properties command.

    William

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

    Re: Document properties (2002/SR2)

    Clever use of Left! <img src=/S/thumbup.gif border=0 alt=thumbup width=15 height=15>
    (I had tried Ctrl+Tab, but that acts cyclically across the tabs, so you can't stop at the first tab).

    You could add a line

    On Error Resume Next

    at the beginning of the macro to suppress error messages.

  6. #6
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Document properties (2002/SR2)

    <hr>3. I don't know if it's possible to replace the built-in File | Properties command.<hr>
    Word does offer the ActiveDocument.BuiltinProperties collection, but the created/modified/accessed information doesn't exactly match the file information on the General tab, which might be gathered fresh from the file system.

  7. #7
    2 Star Lounger
    Join Date
    Feb 2001
    Location
    Wellington, New Zealand
    Posts
    143
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Document properties (2002/SR2)

    Naming the macro FileProperties seems to do the trick.

  8. #8
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Document properties (2002/SR2)

    Apparently I completely misunderstood what you meant. "Never mind!"

Posting Permissions

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