Hello,
VBA has the FileDialog(msoFileDialogFolderPicker), which is the default explorer view.
Is there any way to get the alternative folder picker in the picture to work in VBA? I was not able to find any reference to it.
Thanks.
Hello,
VBA has the FileDialog(msoFileDialogFolderPicker), which is the default explorer view.
Is there any way to get the alternative folder picker in the picture to work in VBA? I was not able to find any reference to it.
Thanks.
A VBA demonstration for starters :
PHP Code:
Sub DemoFolder()
Dim obj As Object, P$
Set obj = CreateObject("Shell.Application").BrowseForFolder(0, vbLf & "Your text here :", 1, "")
If obj Is Nothing Then Beep: Exit Sub Else P = obj.Self.Path & "\": Set obj = Nothing
MsgBox P
End Sub
► Do you like it ? ► ► So thanks to click on bottom left star icon « ★ Add Reputation » ! ◄ ◄
Not identical but you can use the Shell.Application object:
WBDPlease Login or Register to view this content.
Office 365 on Windows 11, looking for ✶ rep!
I see. It was a shell application. Both work great.
Thank you, Marc L and WideBoyDixon!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks