• What can cause extream CPU usage (Wind XP, Office 2003)

    Home » Forums » AskWoody support » Productivity software by function » MS Word and word processing help » What can cause extream CPU usage (Wind XP, Office 2003)

    Author
    Topic
    #402866

    I have a template that seems to cause Word to use 100 % CPU when saving or opening the document.

    What type of code can cause Word to use so much CPU?

    I try to attach a zip file showing the code.

    Hope someone can give me a clue!

    Thanks
    Bjorn

    Viewing 2 reply threads
    Author
    Replies
    • #805130

      You don’t really expect us to read 31 pages with over 1800 lines of code, do you? shocked

      Try pressing Ctrl+Break during the opening or saving of the document. This should pause the code being executed (if any), you may be able to find out which part takes so much time.

      • #805173

        Hans,

        My keyboard doesn’t have a Break key. Do you mean Control-Escape or is my keyboard deficient?

        StuartR

        • #805177

          Laptop, I presume? On a standard keyboard, the Pause/Break key is to the right of Print Screen and Scroll Lock, above Page Up.

          But you can also have the VBE open and select Run | Break, or click the Break button on the toolbar (the Pause icon)

          Ctrl+Esc opens the Start menu.

          • #805185

            > Laptop, I presume?

            eyeout Sometimes I feel like you must be standing just behind me…

            StuartR

            • #805205

              > Sometimes I feel like you must be standing just behind me

              What, you hadn’t noticed until now? laugh

            • #805206

              > Sometimes I feel like you must be standing just behind me

              What, you hadn’t noticed until now? laugh

            • #805484

              [indent]


              Sometimes I feel like you must be standing just behind me


              [/indent] He’s standing behind all of us…all at the same time. laugh

            • #805485

              [indent]


              Sometimes I feel like you must be standing just behind me


              [/indent] He’s standing behind all of us…all at the same time. laugh

          • #805186

            > Laptop, I presume?

            eyeout Sometimes I feel like you must be standing just behind me…

            StuartR

        • #805178

          Laptop, I presume? On a standard keyboard, the Pause/Break key is to the right of Print Screen and Scroll Lock, above Page Up.

          But you can also have the VBE open and select Run | Break, or click the Break button on the toolbar (the Pause icon)

          Ctrl+Esc opens the Start menu.

      • #805174

        Hans,

        My keyboard doesn’t have a Break key. Do you mean Control-Escape or is my keyboard deficient?

        StuartR

      • #805241

        Thanks Hans,

        Soory but it was not the intension to make you read all the code. Thought perhaps that it would show the way the code was made that could indicate a reason for taking so long time.

        I will anyway check all the sugestions that have come in.

        Regards
        Bjormn

      • #805242

        Thanks Hans,

        Soory but it was not the intension to make you read all the code. Thought perhaps that it would show the way the code was made that could indicate a reason for taking so long time.

        I will anyway check all the sugestions that have come in.

        Regards
        Bjormn

    • #805131

      You don’t really expect us to read 31 pages with over 1800 lines of code, do you? shocked

      Try pressing Ctrl+Break during the opening or saving of the document. This should pause the code being executed (if any), you may be able to find out which part takes so much time.

    • #805144

      1. Make sure Journaling is off in Outlook.
      2. Make sure that if you have Norton AV, that you aren’t using the Office plug-in.
      3. If it’s being caused by an add-in, try following the steps in post 197827.
      Cheers,

      • #805251

        Thanks for the help.

        Only have a Global template that is used for some things.

        I will also try to turn off “Allow background saves” in the Tools/Option/Save to see if any effect.

        Thaks!

        Regards
        Bjorn

      • #805252

        Thanks for the help.

        Only have a Global template that is used for some things.

        I will also try to turn off “Allow background saves” in the Tools/Option/Save to see if any effect.

        Thaks!

        Regards
        Bjorn

    Viewing 2 reply threads
    Reply To: What can cause extream CPU usage (Wind XP, Office 2003)

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

    Your information: