I'm using hyperlinks in a command button but the ".hyperlink.follow" extra controls do not behave as designed. I want link to go to a current open window and use the "ExtraInfo" however the link is opening an extra window. When I try to use the extra controls it give me errors.
Here is the code:
Private Sub cmdFindU_Click()
Dim ctl As CommandButton
If Login <> 0 Then
Set ctl = Me!cmdFindU
With ctl
.HyperlinkAddress = Web6 & "Home.jsp?username=" & Login.Column(2)
.Hyperlink.Follow
End With
End If
End Sub
After .follow it give the following options. I can't find any help and the examples on MSDN don't work.
object.hyperlink.Follow[([newwindow], [addhistory], [extrainfo], [method], [headerinfo])]
Thanks!
Here is the code:
Private Sub cmdFindU_Click()
Dim ctl As CommandButton
If Login <> 0 Then
Set ctl = Me!cmdFindU
With ctl
.HyperlinkAddress = Web6 & "Home.jsp?username=" & Login.Column(2)
.Hyperlink.Follow
End With
End If
End Sub
After .follow it give the following options. I can't find any help and the examples on MSDN don't work.
object.hyperlink.Follow[([newwindow], [addhistory], [extrainfo], [method], [headerinfo])]
Thanks!