Hi,
I have written a code to display the Save As dialog box for my users, with a default file name. The code works and displays the dialog box with the default name. But when I click the Save button on the dialog box its not actually doing the saving. I am sure some of you might have faced the same issue, please help.
Thanks
Below is my code.
Dim dlgSaveAs As FileDialog
Set dlgSaveAs = Application.Fil eDialog(msoFile DialogSaveAs)
With dlgSaveAs
.InitialFileNam e = Format(Date, "yyyy-mm-dd") & "txtdelimited.t xt"
End With
dlgSaveAs.Show
I have written a code to display the Save As dialog box for my users, with a default file name. The code works and displays the dialog box with the default name. But when I click the Save button on the dialog box its not actually doing the saving. I am sure some of you might have faced the same issue, please help.
Thanks
Below is my code.
Dim dlgSaveAs As FileDialog
Set dlgSaveAs = Application.Fil eDialog(msoFile DialogSaveAs)
With dlgSaveAs
.InitialFileNam e = Format(Date, "yyyy-mm-dd") & "txtdelimited.t xt"
End With
dlgSaveAs.Show
Comment