ColeDispatchException error in WriteExcel

Getting started -basics for starting with WinTask

ColeDispatchException error in WriteExcel

Postby Tosh on Fri Apr 12, 2013 11:13 am

When I'm trying to save grabbed data to Excel file I receive error message, ColeDispatchException

Line 36: WriteExcel("C:\Master\out.xlsx","D"+str$(idx), out$())

What can be wrong?

Excel 2007.
Tosh
 
Posts: 12
Joined: Thu May 05, 2005 9:56 am

Re: ColeDispatchException error in WriteExcel

Postby TechSupport on Tue Apr 16, 2013 10:08 am

Hello,

This error means that Excel is not able to write.

I suspect that the error is there:
"D"+str$(idx)
Can you check that idx is correct, if it's at 0, then D0 as an invalid cell number will through this COLEDispatch error.

Regards.
WinTask Tech Support
TechSupport
 
Posts: 805
Joined: Thu Nov 16, 2006 9:58 am


Return to Getting started

Who is online

Users browsing this forum: No registered users and 1 guest

cron