L
ljg
I am trying to Export to a spreadsheet using the following code, but I keep
getting error
"Run-Time error '2302' Can't save the output data to the file you've
selected."
This is my code:
DoCmd.OutputTo acOutputQuery, "propertyrequest", acFormatXLS,
"C\datastream\export_data\Property" & "_" & UsrName & ".xls"
I am assuming its the file format? I am using Access 2007, in a 2002 - 2003
format and using Excel 2007 set to save in Excel 97 - 2003 format.
I am running Vista Ultimate.
Any help would be most welcome.
getting error
"Run-Time error '2302' Can't save the output data to the file you've
selected."
This is my code:
DoCmd.OutputTo acOutputQuery, "propertyrequest", acFormatXLS,
"C\datastream\export_data\Property" & "_" & UsrName & ".xls"
I am assuming its the file format? I am using Access 2007, in a 2002 - 2003
format and using Excel 2007 set to save in Excel 97 - 2003 format.
I am running Vista Ultimate.
Any help would be most welcome.