Difference between revisions of "BrowseForFolder"

From scripting
Jump to: navigation, search
(Created page with " Dim FolderName As String Dim RootPath FolderName = GetFolderName("Select a folder") If FolderName = "" Then MsgBox "You didn't select a folder." Else Root...")
 
(No difference)

Latest revision as of 04:58, 22 April 2017

Dim FolderName As String
Dim RootPath
FolderName = GetFolderName("Select a folder")
If FolderName = "" Then
    MsgBox "You didn't select a folder."
Else
    RootPath = FolderName & "\"
    TextBoxSavePath.Value = RootPath
    'MsgBox "You selected this folder: " & RootPath
End If