ipbr21054
Well-known Member
- Joined
- Nov 16, 2010
- Messages
- 5,226
- Office Version
- 2007
- Platform
- Windows
Hi,
I am trying to open a folder called DR COPY INVOICES but when i run the code below it opens My Computer.
Can you see an issue with it or if need be advise another code
Thanks
I am trying to open a folder called DR COPY INVOICES but when i run the code below it opens My Computer.
Can you see an issue with it or if need be advise another code
Thanks
Rich (BB code):
Private Sub OpenPdf_Click()
Dim Foldername As String
Foldername = "\\server\DR COPY INVOICES\"
Shell "C:\WINDOWS\explorer.exe """ & DR COPY INVOICES & "", vbNormalFocus
End Sub