Grid - Pre Sale Questions
Vista and Excel 2003
Thread Starter: Mihai Started: 1/28/2008 4:26 PM UTC
Replies: 1
Vista and Excel 2003

 

Hi,

 

Are you aware of any problems of exporting the grid into xls files when using Vista and Excel 2003 ?

I can export into Word 2003 and it is ok .

When I export in Excel 2003 your export method returns false.

I wrote a code of my own for exporting ... and I get the error in this line:

  vXLWorkbooks = vMSExcel.OlePropertyGet("Workbooks");
  vXLWorkbook = vXLWorkbooks.OleFunction("Add");

When the "Add" is executed I get an error with "Server threw an error". It seems that it does not let me to Add workbooks. Maybe the automation object from excel has changed .

 

Any suggestions?

 

thanks,

Mihai



 

Re: Vista and Excel 2003

This error happens in Vista only.

 

I run the example in XP (with office 2003) and it works ok.

any workarround ?

 

thanks,

Mihai