Microsoft KB Archive/817138

= You receive a &quot;Cannot start the program needed to open this file&quot; error message when you reference hyperlinks in VBA =

Article ID: 817138

Article Last Modified on 1/30/2007

-

APPLIES TO


 * Microsoft Office Professional Edition 2003
 * Microsoft Office Basic Edition 2003
 * Microsoft Office Basic 2007
 * Microsoft Office Enterprise 2007
 * Microsoft Office Home and Student 2007
 * Microsoft Office Professional 2007
 * Microsoft Office Professional Plus 2007
 * Microsoft Office Standard 2007
 * Microsoft Office Ultimate 2007

-



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.

Additional query words: OfficeErrorMessages OFF2003 OFF207

Keywords: kbmacro kbprogramming kbvba kbprb kberrmsg KB817138

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.