Set Initial Directory on Browse

  • Thread starter Thread starter bhammer
  • Start date Start date
B

bhammer

With the GetFolder function from the mvp website, how do I set the initial
browse directory to the previous path the user last used (that was saved on
the form in a hidden text box)?

I'm using:
Public Function GetFolder(dlgTitle As String, frmHwnd As Long) As String

Something like:
Me.txtSourceFolder = GetFolder ("Choose a directory", me.hwnd)
strInitalDir = Me.txtSavedPath

-Brad
 
Back
Top