By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,204 Members | 1,360 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,204 IT Pros & Developers. It's quick & easy.

Problem with .follow method

P: n/a
I'm having an issue with a hyperlink I've inserted into one of my A97

I have a continuos form which has three columns; hyperlink, a
description, and a command buttons. I've made the hyperlink field
invisible and would like the command button to have the same effect as
clicking on the hyperlink text field normally would (I want a standard
picture to appear instead of the filepath of the hyperlink.)

This should be a simple one line code to accomplish this:

Private Sub cmdLink_Click()
End Sub

It works, but does not work exactly the same as clicking the link
ordinarily would. When the standard text hyperlink is clicked, the
destination file is opened, and the focus remains with it whereas when
the command button is pushed, the destination file is opened and
immediately minimized with focus returning to A97. When I stepped
through the procedure, focus returned to A97 immediately when it hit
'End Sub', so there was no further code being executed that I could

Is there any way to prevent the focus from automatically returning to

Aug 24 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.