To get the Project Directory or name you can use:
Application.CurrentProject.Path
Application.CurrentProject.FullName
Application.CurrentProject.Name
For the file dialog for only folders use:
You can call the window's file dialog from Access. The Windows's file dialog is the window that almost all programs use to open or save a file. To see the file dialog, goto File, Open in Access.
Calling the window's file dialog from Access requires a reference set to Microsoft Office x.xx Object Library (Visual Basic Editor, Tools, References).
Simple File Dialog call:
Dim strPathFileName As String
'In the "With Application.FileDialog" line, you can use:
' msoFileDialogFilePicker, msoFileDialogFolderPicker, msoFileDialogOpen or msoFileDialogSaveAs
With Application.FileDialog(msoFileDialogFolderPicker)
.Title = "Select folder"
.AllowMultiSelect = False
.Filters.Clear
.Filters.Add "All", "*.*", 2
.InitialFileName = "C:\"
If .Show Then
strPathFileName = .SelectedItems(1)
Else
MsgBox "No folder selected!"
End If
End With