ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Error Code 1004 when exporting from VB app to Excel 2007 (https://www.excelbanter.com/excel-discussion-misc-queries/157803-error-code-1004-when-exporting-vbulletin-app-excel-2007-a.html)

sue mac

Error Code 1004 when exporting from VB app to Excel 2007
 
Hi there,

Does anyone know why I get the following error when exporting data from my
VB app to Excel 2007 ONLY WHEN the default save file format in Excel 2007 is
set to "Excel 97-2003 workbook (*.xls)"?

"Excel cannot insert the sheets into the destination workbook, because it
contains fewer rows and columns than the source workbook.....(Code: 1004)"

No error is obtained using the same process when the default save file as is
the default 2007 "xlsx" or "Excel 5.0/95 Workbook (*.xls)"...
--
thanks in advance.
sue mac...


All times are GMT +1. The time now is 12:27 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com