vba select file in folder

The solution for “vba select file in folder” can be found here. The following code will assist you in solving the problem.

‘ Open File Explorer in Windows and select a specified filename
filename = “C:\test.txt”
Shell “C:\Windows\explorer.exe /select, ” & “””” & filenamepath & “”””, vbNormalFocus

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

Similar Posts