Hi:
I need to use MS VB6 and OLE Automation to open an EXCEL worksheet and retrieve cell data.
Is there a clean way to iterate over the rows and columns in a worksheet through automation?
I could blindly loop through all the cells from 0 through N, but there must be a more effecient way to do so?
Once I've figured this out, how do I retrieve the text contained in a cell?
I'm using VB6 and then Excel 11.0 object library.
It doesn't seem to support Row, Column and Cell objects directly. Is this truly the case?
Thanks,
JohnB
Start Free Trial