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
 
Back
Top