I am stuck with a bit of coding, that should be easy but cant figure it out.
I have a module that exports a query to XLSM and another that runs a macro in the XLSM and saves the file as XLSX.
All is working but, the file doesn't automatically save unless you click yes. You get the warning "The following features cannot be saved in Macro free workbooks....."
I have tried different ways of saving the XLSM file to XLSX as well as trying to turn the alerts off.
With Application.DisplayAlerts = False I have a "Method or Data member not found" Do I need to declare DisplayAlerts?
DoCmd.SetWarnings False doesn't work
Any ideas on where I am going wrong?
TIA,
Poco
I have a module that exports a query to XLSM and another that runs a macro in the XLSM and saves the file as XLSX.
All is working but, the file doesn't automatically save unless you click yes. You get the warning "The following features cannot be saved in Macro free workbooks....."
I have tried different ways of saving the XLSM file to XLSX as well as trying to turn the alerts off.
With Application.DisplayAlerts = False I have a "Method or Data member not found" Do I need to declare DisplayAlerts?
DoCmd.SetWarnings False doesn't work
Any ideas on where I am going wrong?
TIA,
Poco