Application.FollowHyperlink FileName

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

When I open a pdf doc using Application.FollowHyperlink FileName,
it seems to quickly open and close the docuemnt. Is there any way I can make
it keep open or open in a new window? However if I open a word document, it
remains open.

I already tried command per doc, I ran into vague errors.

Thanks for your help!
-Me
 
This sounds like a problem with Acrobat Reader (or other PDF software).
When you double-click on a PDF file in Windows Explorer, does it open
normally or does it quickly open and close?
 
Hi John,

Yes it stays open when I double-click the pdf doc in windows explorer.
If its a bug, is there a work around?

Thank you,
-Me
 
It's not a bug I've heard of or can find in the Microsoft knowledgebase.

The first thing I'd try is to re-install Acrobat Reader (or whatever
program you use to read PDF files).

If that doesn't fix it, I suppose the next question is, if you give
FollowHyperlink a different sort of file, do those files open normally
(e.g. Word, Excel, HTML files)?

Meanwhile, the workround is to use the Shell() function to launch
Acrobat Reader (or whatever) with the file on the command line.
 
Back
Top