• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

How to open a folder from desired location using vba in excel

you can try below macro.

Code:
Sub sbOpeningAFolder()

Dim FSO
Dim sFolder As String
sFolder = "C:\bulk"
Set FSO = CreateObject("Scripting.FileSystemObject")

Call Shell("explorer.exe " & sFolder, vbNormalFocus)

End Sub
 
Back
Top