Results 1 to 6 of 6
  1. #1
    2 Star Lounger
    Join Date
    Feb 2001
    Location
    Appleton, Wisconsin, USA
    Posts
    188
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Windows Explorer - run time error 5

    We have a user who cannot open Office documents from Windows Explorer. When she tries double-clicking she gets a MS Visual Basic error, "Run time error 5. Invalid procedure call or argument". She doesn't have VB installed on her PC. We've tried re-installing Office and that doesn't help. Any ideas?

    Thanks! <img src=/S/headthrob.gif border=0 alt=headthrob width=15 height=15>

  2. #2
    5 Star Lounger
    Join Date
    Jul 2002
    Location
    Toronto, Ontario, Canada
    Posts
    1,139
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Windows Explorer - run time error 5

    Is it one specific file? All Office documents? Specific application's documents?

    Can you give a few more details please and thank you.
    --
    Bryan Carbonnell - Toronto <img src=/S/flags/Ontario.gif border=0 alt=Ontario width=30 height=18> <img src=/S/flags/Canada.gif border=0 alt=Canada width=30 height=18>
    Unfortunately common sense isn't so common!!
    Visit my website for useful Word, Excel and Access code, templates and Add-Ins

  3. #3
    2 Star Lounger
    Join Date
    Feb 2001
    Location
    Appleton, Wisconsin, USA
    Posts
    188
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Windows Explorer - run time error 5

    It's happening for sure on Word files. We'll go check and see if Excel/other apps are doing it as well.

    Angela

  4. #4
    5 Star Lounger
    Join Date
    Jul 2002
    Location
    Toronto, Ontario, Canada
    Posts
    1,139
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Windows Explorer - run time error 5

    If it's just Word files, the first thing that comes to mind is an add-in or a template in the startup directory is causing the problem.

    Does this error come up if you just open Word?

    If it does, then you will need to take a step by step approach to fixing this

    Start by moving any templates from Word's startup directory to a temporary holding spot

    Restart Word.

    If the error is still showing up, then you have a problem with normal.dot. Rename it to something like normal.old and restart Word.

    Then try adding the templates back from the startup directory one by one and restart Word after moving each one back.

    When you get the error coming back up, that will be the template that has a problem with the VBA code.

    If there was no error with Normal.dot, just try moving the templates back one by one.
    --
    Bryan Carbonnell - Toronto <img src=/S/flags/Ontario.gif border=0 alt=Ontario width=30 height=18> <img src=/S/flags/Canada.gif border=0 alt=Canada width=30 height=18>
    Unfortunately common sense isn't so common!!
    Visit my website for useful Word, Excel and Access code, templates and Add-Ins

  5. #5
    Super Moderator
    Join Date
    Jan 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    3,852
    Thanks
    4
    Thanked 259 Times in 239 Posts

    Re: Windows Explorer - run time error 5

    Can the user open Word and then open the file by choosing File > Open? If this pathway exists then the problem is not the application but the file association's for the document type *.doc

    If this is the case let us know as the remedy is relatively simple and has been covered in this forum in the past but will take some time to find.
    Andrew Lockton, Chrysalis Design, Melbourne Australia

  6. #6
    2 Star Lounger
    Join Date
    Feb 2001
    Location
    Appleton, Wisconsin, USA
    Posts
    188
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Windows Explorer - run time error 5

    Thank you both for your help--it turns out there was a template in the Startup folder that was causing the trouble. She had a stamp.dot file in there and when it was deleted the problem magically went away! <img src=/S/cheers.gif border=0 alt=cheers width=30 height=16>

Posting Permissions

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