Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Guys (and girls of course)
I run following code in Access2003 (I now, this is an excel-forum, but I think the problem is in Excel): DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel8, "PLAN", FileName, True FileName is the name of a Workbook, that i copy prior to this line. I tested the copy procedure of the sheet separately to see if this could be the problem, it's not. When the code ran, i open my workbook and i get the following statement: File Error, Data may have been lost. And the Exported Worksheet is all scrambled, also another worksheet, that was there before the export is damaged. If I put a blank worksheet into FileName, it works perfect. Anyone knows, why that happens, and/or how I can get around that? Do I have to move the worksheet, after exporting? would be troublesome. Thanks for your help, it's highly appreciated Carlo |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Export to Access, Workbook Treated as a Query Response | Excel Discussion (Misc queries) | |||
Export to Access from Excel | Excel Discussion (Misc queries) | |||
Export Access Tables to Excel Workbook | Excel Programming | |||
Export from Access to Excel | Excel Programming | |||
export access to excel. change access & update excel at same time | Excel Discussion (Misc queries) |