RESOLVED -- Access 2007 Qry to Excel 2007
I know this has probably been asked and answered multiple times before, I have spent the better part of the day trying to find an answer to this, even searching on here.
I have a query that I want to export as raw data. I have an email aspect that sends out the data in the body of the email. I want to be able to, once the email portion is done, save the raw data as and Excel file and add the current date to the file name.( XXXXX.02222011) This is so trending can be performed weekly on the data pulled daily.
I can create a macro and have it export the Query results, but then I get this crazy error (Repaired Records: Format from /xl/styles.xml part (Styles)
) when I try to run this macro.
I usually create a Macro, and then convert it to VBA and learn what it does as my way of teaching myself how to write the code.
Any help would be much appreciated.
I know this has probably been asked and answered multiple times before, I have spent the better part of the day trying to find an answer to this, even searching on here.
I have a query that I want to export as raw data. I have an email aspect that sends out the data in the body of the email. I want to be able to, once the email portion is done, save the raw data as and Excel file and add the current date to the file name.( XXXXX.02222011) This is so trending can be performed weekly on the data pulled daily.
I can create a macro and have it export the Query results, but then I get this crazy error (Repaired Records: Format from /xl/styles.xml part (Styles)
) when I try to run this macro.
I usually create a Macro, and then convert it to VBA and learn what it does as my way of teaching myself how to write the code.
Any help would be much appreciated.
Last edited: