Hyperlink.Follow opens some files twice

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

Guest

Hi,

I have a Commandbutton.Hyperlink.Follow command in one of my forms.

When the document is Word, Excel, Powerpoint, the document opens once. HTML,
JPG documents open twice. I can't see why.

Any help appreciated.
Kamil
 
Hello everyone, don't bother to reply, I found the answer myself.

For those who are interested:

When a command button has a hyperlink address, it automatically follows that
address when clicked.

I had an additional "CB.Hyperlink.Follow" command in VB and so therefore
clicking the button made it open the files twice. Office programs apparently
do not open twice but JPG and HTM files do.

Regards
Kamil
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top