I am doing this:
With cmnDialog
.Filter = "Microsoft Access Databases|*.mdb|"
.InitDir = "C:\"
.ShowOpen
End With
How do I get the file path back from the .showopen window?
Printable View
I am doing this:
With cmnDialog
.Filter = "Microsoft Access Databases|*.mdb|"
.InitDir = "C:\"
.ShowOpen
End With
How do I get the file path back from the .showopen window?
Use the filename property.
Code:Print CommonDialog1.filename
That did it, thanks.