You receive a "Cannot start the program needed to open this file" error message when you reference hyperlinks in VBA (817138)



The information in this article applies to:

  • Microsoft Office Professional Edition 2003
  • Microsoft Office Basic Edition 2003

SYMPTOMS

When you reference hyperlinks in Microsoft Visual Basic for Applications (VBA), you may receive the following error message:
Cannot start the program needed to open this file.

CAUSE

This problem may occur for one of the following reasons:
  • You are using one of the following VBA methods:
    • Doc.FollowHyperlink
    • Hyperlink.Follow
    • Document.Reload
  • There is a problem starting the program that is associated with the type of file you are trying to open for one of the following reasons:
    • The program may not be installed.
    • Some of the files that the program requires may be missing or damaged.
    • The program may not be correctly registered in the Microsoft Windows registry.

RESOLUTION

To resolve this problem, follow these steps:
  • Install the program that you must have to open this type of file.
  • If the program is already installed, try reinstalling the program to replace any missing files and to correctly register the program in the Windows registry.

Modification Type:MinorLast Reviewed:1/11/2006
Keywords:kbmacro kbProgramming KbVBA kbprb kberrmsg KB817138 kbAudEndUser kbAudDeveloper