followhyperlink error

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

Guest

I have the following code that is to open a folder when the command button is
clicked...however i get a runtime 490 error.

Private Sub Command34_Click()
Dim MyPath As String
MyPath = "G:\Access\5%\"
Application.FollowHyperlink MyPath

End Sub
 
Back
Top