I
Ian
I have been working on some code to create, then modify an Excel spreadsheet
from Access using VBA.
Evrything is working as I need it except for when it come to save the sheet.
If I stop the code and save the file manually, I get a prompt informing me
that the file is in Excel 5.0/95 format and do I want to save it in the
latest format. If I say yes to this, everything is OK.
If I let the code run on the following code executes:
objExcel.ActiveWorkbook.Save
objExcel.Application.Quit
Whe I reopen the file I find that some of the changes have not been saved
(conditional formatting).
Is there some way to force Access to either a)create an Excel spreadsheet
using DoCmd.OutputTo or b) after reopening the created file to add formuale
and formatting, save the file in the latest format?
from Access using VBA.
Evrything is working as I need it except for when it come to save the sheet.
If I stop the code and save the file manually, I get a prompt informing me
that the file is in Excel 5.0/95 format and do I want to save it in the
latest format. If I say yes to this, everything is OK.
If I let the code run on the following code executes:
objExcel.ActiveWorkbook.Save
objExcel.Application.Quit
Whe I reopen the file I find that some of the changes have not been saved
(conditional formatting).
Is there some way to force Access to either a)create an Excel spreadsheet
using DoCmd.OutputTo or b) after reopening the created file to add formuale
and formatting, save the file in the latest format?