Advertisement
Advertisement
| 07.05.2008 at 01:11PM PDT, ID: 23540977 |
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: |
Sub BrowseforFolder()
Dim fdBrowser As FileDialog
'Get the File Dialog object
Set fdBrowser = Application.FileDialog(msoFileDialogFolderPicker)
With fdBrowser
'Initialize it
.Title = "Select Folder"
.InitialFileName = "c:\"
'Display the dialog
If .Show Then
Worksheets("Master").Range("E29").Value = .SelectedItems(1)
End If
End With
End Sub
|