G
Guest
I am using a macro (transferspreadsheet) to export a report from access to
excel. I require the outputted file to include todays date, so i have defined
the file name as:
C:\"Report"&Format(Date,"mmddyy") & ".xls"
When I run the macro an error is displated:
Cannot Update. Database or object is read only.
If I run the macro without the date formatting (i.e.C:\Report.xls) it works
OK. Anyone know a reason for this and how to fix.
Thanks
excel. I require the outputted file to include todays date, so i have defined
the file name as:
C:\"Report"&Format(Date,"mmddyy") & ".xls"
When I run the macro an error is displated:
Cannot Update. Database or object is read only.
If I run the macro without the date formatting (i.e.C:\Report.xls) it works
OK. Anyone know a reason for this and how to fix.
Thanks