Set Initial Directory on Browse

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top