Macro should autosave

J

Jon Dibble

Hi
I have macro that manipluates a file then should autosave. But when I run it
asks if I want to save changes even though I have specified it ignores in my
code below? Would appreciate any help.

Application.DisplayAlerts = False
ActiveWorkbook.SaveAs Filename:="Y:\bcms_1002.xlsm", FileFormat:= _
xlOpenXMLWorkbookMacroEnabled, CreateBackup:=False
Application.DisplayAlerts = True
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top