Hello All
I have a question about the common Dialog controls. Is there a way to get the directory after the showsave method is executed?
Thanks!
Printable View
Hello All
I have a question about the common Dialog controls. Is there a way to get the directory after the showsave method is executed?
Thanks!
Sure, use the FileTitle and FileName Values to Parse out the Directory, ie.
------------------Code:Private Sub Command1_Click()
With CommonDialog1
.ShowSave
Caption = Left$(.FileName, Len(.FileName) - Len(.FileTitle))
End With
End Sub
Aaron Young
Analyst Programmer
[email protected]
[email protected]
Certified AllExperts Expert