Problem using numerical reference to Excel object range

  • Thread starter Thread starter Keith
  • Start date Start date
K

Keith

Hello

I have created an Excel Sheet object in an Access Module,
and now I need to reference the cells of a range. I find
that the following reference

myrange = ExcelSheet.Application.range("a1:c3").Value

works, but the numerical reference

myrange = ExcelSheet.Application.range(cells(1, 1), cells
(3, 3)).Value

does not work.

What have I done wrong? How can I use numerical references
to a cell range in this situation?

thank you,
Keith
 
Back
Top