Open Specific Folder (1 Viewer)

robbydogg

Registered User.
Local time
Today, 09:01
Joined
Jul 15, 2008
Messages
56
Hello,

Hopefully this is a really simple request - All i need is a bit of code to runt aht opens a specific folder on the network, after running off a few items first.

I have put in the code to run the queries / macros i need but after this i want it to open the folder and display the contents it has just created.

Any ides?

Thanks muchly :)
 

DCrake

Remembered
Local time
Today, 09:01
Joined
Jun 8, 2005
Messages
8,632
Do a search on Common dialog controls
 

robbydogg

Registered User.
Local time
Today, 09:01
Joined
Jul 15, 2008
Messages
56
hi,

after a bit of searching on this site, i found exatcly what i needed.


Private Sub Command8_GotFocus()
Dim stAppName As String
stAppName = """C:\WINDOWS\explorer.exe"" /e, \\SVR034\Public\ Data\Data Extracts"
Call Shell(stAppName, 1)
End Sub


thanks
rob
 

Users who are viewing this thread

Top Bottom