Results 1 to 4 of 4
  1. #1
    Lounger
    Join Date
    Mar 2001
    Location
    Tallahassee, FL, USA
    Posts
    32
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Run Time Error 5151

    When I try to access the Brochure Template in W2000 (Office 2000 Professional) I get a VBA Run Time Error 5151 with the message "Document Name or Path Not Valid".

    I thought I had a corrupt doc/tem file so I ran Word's repair option. However, that did NOT solve the problem.

    Any ideas or suggestions would be greatly appreciated.

    Thanks.
    Dave Sellars
    Tallahassee, FL <img src=/S/help.gif border=0 alt=help width=23 height=15>

  2. #2
    Gold Lounger
    Join Date
    Dec 2000
    Location
    Hollywood (sorta), California, USA
    Posts
    2,759
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Run Time Error 5151

    Many of those "included" Office templates are actually a set of templates and/or associated wlls or dlls. I suspect you've got one in the set and at least one of the others is missing. Repairing won't do it, but reinstalling will. I'd say that's too much HDD grinding for just a couple files.

    Go hunting and copy the missing templates to either your user templates or workgroup templates folder.

    OR if your folder location is not set properly, try setting either of the above template folders back to crogram filesmicrosoft officetemplates.
    Kevin <IMG SRC=http://www.wopr.com/w3tuserpics/Kevin_sig.gif alt="Keep the change, ya filthy animal...">
    <img src=/w3timages/blackline.gif width=33% height=2><img src=/w3timages/redline.gif width=33% height=2><img src=/w3timages/blackline.gif width=33% height=2>

  3. #3
    Lounger
    Join Date
    Mar 2001
    Location
    Tallahassee, FL, USA
    Posts
    32
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Run Time Error 5151

    Kevin,

    You are a life saver. Yep, I hunted the file (Brochure.dot) down on the Office 2000 CD, copied it to my templates folder and ....

    WALAA!!!!!

    It works.

    Thanks again.
    -- dave --

  4. #4
    Gold Lounger
    Join Date
    Dec 2000
    Location
    Hollywood (sorta), California, USA
    Posts
    2,759
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Run Time Error 5151

    Glad to help.
    Kevin <IMG SRC=http://www.wopr.com/w3tuserpics/Kevin_sig.gif alt="Keep the change, ya filthy animal...">
    <img src=/w3timages/blackline.gif width=33% height=2><img src=/w3timages/redline.gif width=33% height=2><img src=/w3timages/blackline.gif width=33% height=2>

Posting Permissions

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