followhyperlink error

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
 

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

Similar Threads


Top