dbTalk Databases Forums  

TransferSpreadsheet help

comp.databases.ms-access comp.databases.ms-access


Discuss TransferSpreadsheet help in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
troy_lee@comcast.net
 
Posts: n/a

Default TransferSpreadsheet help - 10-15-2008 , 12:06 PM






Here is my code:

DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel8, "C:
\Databases\RMA Database Redesign\ParetoTemplate2.xls"

Access says that I need to assign a file path or name.

Both the path and file name are correct.

Any ideas? I read the help and can't see what's wrong with my syntax.

Also, I tried to assign the path to a string variable and inserted it
into the argument for the TransferSpreadsheet. It didn't work either.
This seems easy but I can't crack it.

Thanks in advance.


Reply With Quote
  #2  
Old   
troy_lee@comcast.net
 
Posts: n/a

Default Re: TransferSpreadsheet help - 10-15-2008 , 12:23 PM






Nevermind. I solved the problem. I didn't have a query named before
the file name argument. Sorry.

BUT, I have a another problem now. The export appears to happen but
when I open the excel file, nothing has been added to it.

Any suggestions?

Thanks.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.