View Single Post
 
Old 11-03-2015, 02:07 AM
gmayor's Avatar
gmayor gmayor is offline Windows 7 64bit Office 2010 32bit
Expert
 
Join Date: Aug 2014
Posts: 4,142
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

OK, you need a simple function to open Windows Explorer e.g.
Code:
Sub OpenAtFolder(strPath As String)
    Shell "cmd /C start """" /max """ & strPath & """", vbHide
lbl_Exit:
    Exit Sub
End Sub
and you can call it from your code e.g.
Code:
    If MsgBox("Do you want to open the folder..?", vbYesNo) = vbYes Then
        OpenAtFolder "C:\OutlookAttachments\"
    End If
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote