• Document properties (2002/SR2)

    Author
    Topic
    #457075

    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.

    Viewing 0 reply threads
    Author
    Replies
    • #1144769

      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.

      • #1144771

        Thank you.

        • #1144845

          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

          • #1144846

            Clever use of Left! thumbup
            (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.

          • #1144860

            [indent]


            3. I don’t know if it’s possible to replace the built-in File | Properties command.


            [/indent]
            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.

            • #1144878

              Naming the macro FileProperties seems to do the trick.

            • #1144906

              Apparently I completely misunderstood what you meant. “Never mind!”

    Viewing 0 reply threads
    Reply To: Document properties (2002/SR2)

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

    Your information: