+ Reply to Thread
Results 1 to 2 of 2

run-time Error problem

  1. #1
    Registered User
    Join Date
    09-28-2018
    Location
    Sauk Rapids MN
    MS-Off Ver
    10
    Posts
    20

    Question run-time Error problem

    Can anyone help me with a run-time error?

    The error reads : run-time error ‘-2147221014(800401ea)’:
    Cannot open the specificied file

    What I want is to put the program on network for all to use to pull up pdf files
    I can open the pdf file on computer no error
    When someone else tries to open the hyperlink, this when the error show up.

    This is part of the VBA code to open pdf file
    ActiveSheet.HyperLinks.Add Anchor:=Selection, Address:= _
    "F:\QUALITY\FINAL INSPECTION REPORT\" & a & b, TextToDisplay:= _
    "F:\QUALITY\FINAL INSPECTION REPORT\" & a & b
    Selection.HyperLinks(1).Follow NewWindow:=False, AddHistory:=True

    Thanks

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,709

    Re: run-time Error problem

    Your post does not comply with Rule 2 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Click on Edit to open your thread, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 6)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] run time error 481 PROBLEM
    By MariaPap in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-10-2017, 06:57 AM
  2. [SOLVED] Elapsed time Problem #name error.
    By Sklaar in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 04-03-2014, 04:48 PM
  3. [SOLVED] Correcting a Run-time error ‘445’ problem
    By JPDutch in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-22-2013, 03:19 PM
  4. Problem with run time error 91 in macro
    By JFWeir in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-23-2011, 11:03 AM
  5. run time error 91 problem
    By stevesunfold in forum Excel Programming / VBA / Macros
    Replies: 28
    Last Post: 10-22-2008, 05:32 PM
  6. Problem Run-time error '1004'
    By PeterSi in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-18-2007, 08:46 AM
  7. Run-time error 9 Problem
    By SamuelT in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-02-2005, 06:20 PM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1