• Word Macro (Word 2000)

    Author
    Topic
    #381855

    Unable to get a macro to work in Word 2000 that worked in Word 97. I’m attempting to create a macro to change the print paper setting to manual feed. It doesn’t seem to create that change. I record the macro but it doesn’t execute. What am I missing? Carol

    Viewing 0 reply threads
    Author
    Replies
    • #645343

      Can you post the code that did work in W97 and now doesn’t in W2K? We can then see if there are problems with the code.

      • #645351

        I didn’t save the code. Just duplicated the recording of the macro in Word 2000 after we upgraded from 97.

        • #645361

          If you are trying to make a permanaent change use:

          Options.DefaultTray = “Manual Feed”

          If you want to have a custom macro to print the Active Document using the Manual Feed Tray, something like this should take care of it

          Dim strOldSetting as String

          ‘Save the current setting to restore it when we are done
          strOldSetting = Options.DefaultTray
          ‘Set the tray to manual
          Options.DefaultTray = “Manual Feed”
          ‘Print the Active Document
          ActiveDocument.PrintOut
          ‘Restore setting
          Options.DefaultTray = strOldSetting

    Viewing 0 reply threads
    Reply To: Word Macro (Word 2000)

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

    Your information: