I came across this code that will work acceptably for what I need, but I'm not sure how to apply it to my form.
Code:
Private Sub cmdExplore_Click()
On Error GoTo Err_cmdExplore_Click
Dim stAppName As String
stAppName = "C:\Windows\explorer.exe d:\clients" & Me.txtContactName & "\"
Call Shell(stAppName, 1)
Exit_cmdExplore_Click:
Exit Sub
Err_cmdExplore_Click:
MsgBox Err.Description
Resume Exit_cmdExplore_Click
End Sub
I created a module in VBA using the above code and it worked when I tested it, although I had to remove the following: & Me.txtContactName & "\"
This part of the code is important, because it should open the folder that the txtContactName refers too, at least that's what I was implied to believe.
With that said, I still do not understand how to run the module when I click on the control button.
I thought I could copy the code into the 'On Click' field under 'Zoom' for the control button, but that fails with an error.
Thanks
Mike