Hi I'm scanning the cells of a worksheet using this code
icell=loExcel.ActiveWorkbook.ActiveSheet.range(iy+ix).value
It works fine unless one of the cells has a reference to a workbook which is not avaiable (it shows #REF! in Excel).
The VFP crashes with Error 11.
Is there a better solution than ignoring Error 11?
Thanks
Bill
Bill Spence,
Dunfermline, Scotland
icell=loExcel.ActiveWorkbook.ActiveSheet.range(iy+ix).value
It works fine unless one of the cells has a reference to a workbook which is not avaiable (it shows #REF! in Excel).
The VFP crashes with Error 11.
Is there a better solution than ignoring Error 11?
Thanks
Bill
Bill Spence,
Dunfermline, Scotland