antonioking
asked on
Excel 2010 VBA SaveAs No dialog/Prompt
I'm trying to my workbook using a macro, I don't want any prompts to show up.
I'm using the command...
I've read about adding DisplayAlerts command before and after the saveas command
I'm using the command...
ActiveWorkbook.SaveAs Filename:=<FILEPATH>
However the save as dialog box is shown each time.I've read about adding DisplayAlerts command before and after the saveas command
Application.DisplayAlerts = False
Application.DisplayAlerts = True
But the save as dialogue still keeps popping up!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
There is nothing in your code that would trigger a dialog unless your filename is missing or you are using a function to provide the file name.