Setting the Default file name in the SaveFileAs Dialog from VB.Net
Visual Basic
1
Posts
1
Posters
0
Views
1
Watching
-
I am writing a VB.NET applicatio that dumps data to an Excel Spreadsheet. After the dump is completed, I want to prompt the user to save the spreadsheet by showing the SaveFileAs dialog Box. The statement: Result = EXL.Dialogs(Excel.XlBuiltInDialog.xlDialogSaveAs).Show Argl:= fName Where fName is the file name, doesn't work form VB. The Argl:= fiName part of the statement generates asyntax error - "End of statement expected". How can I make this work in VB.Net? Thanks! Nelson