Long story short, I need to have a command button (using xp) open up a folder where pdf's are stored, so the user can search. (orginally I wanted a pdf to open, then I tried having explorer open, so this is my last idea
I've tried a lot of the code in the archieves but none work exactly.
For example:
Private Sub cmdExplore_Click()
Dim stAppName As String
'stAppName = "C:\Windows\explorer.exe"
'above open in a tree view with my Documents; no explorer anywhere to be found
Call Shell(stAppName, 1)
Exit_cmdExplore_Click:
Exit Sub
Err_cmdExplore_Click:
MsgBox Err.Description
Resume Exit_cmdExplore_Click
any ideas?
I've tried a lot of the code in the archieves but none work exactly.
For example:
Private Sub cmdExplore_Click()
Dim stAppName As String
'stAppName = "C:\Windows\explorer.exe"
'above open in a tree view with my Documents; no explorer anywhere to be found
Call Shell(stAppName, 1)
Exit_cmdExplore_Click:
Exit Sub
Err_cmdExplore_Click:
MsgBox Err.Description
Resume Exit_cmdExplore_Click
any ideas?