Talk About Network

Google





Software > Access External data > Re: Ex****t to ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 3 Topic 10835 of 11376
Post > Topic >>

Re: Ex****t to spreadsheet error, help please

by "Jeanette Cunningham" <nnn@[EMAIL PROTECTED] > Jul 25, 2008 at 07:17 PM

Maybe access can't find the path and folder to save the file in?
Try using a simple folder as a test like this:
"C:\MyTest.xls"

Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia


"ljg" <ljg@[EMAIL PROTECTED]
> wrote in message 
news:OjVWufi7IHA.4536@[EMAIL PROTECTED]
>I am trying to Ex****t 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\ex****t_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.
>
>
>
>
 




 3 Posts in Topic:
Export to spreadsheet error, help please
"ljg" <ljg@[  2008-07-25 08:27:42 
Re: Export to spreadsheet error, help please
"Jeanette Cunningham  2008-07-25 19:17:50 
Re: Export to spreadsheet error, help please
Ron2006 <ronnemec@[EMA  2008-07-25 05:33:14 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Fri Jan 9 5:51:53 PST 2009.