I just want to retrieve a filename, I can do the rest from there, but how can I open the "Open" screen, or the "Save" screen?
Thanks
:)
Steve
Printable View
I just want to retrieve a filename, I can do the rest from there, but how can I open the "Open" screen, or the "Save" screen?
Thanks
:)
Steve
------------------Code:Private Sub cmdOpen_Click()
On Error Goto Cancelled
With CommonDialog1
.CancelError = True
.ShowOpen
Caption = .FileName
End With
Cancelled:
End Sub
Private Sub cmdSave_Click()
On Error Goto Cancelled
With CommonDialog1
.CancelError = True
.ShowSave
Caption = .FileName
End With
Cancelled:
End Sub
Aaron Young
Analyst Programmer
[email protected]
[email protected]
Certified AllExperts Expert