Hi,

I know that you can use cell(row, col) to access a particular cell in
a table. But what if some cells have been merged and others have been
split, which makes the definition of row and col tricky. Is there
still a way to access individual cells?

Thanks,

Jay

Re: Accessing cells in an 'uneven' table by Jezebel

Jezebel
Thu Oct 27 06:16:45 CDT 2005

Read Help on the RowIndex and ColIndex properties.

You can also iterate the cells sequentially using the .Next and .Previous
properties for each cell.




"Jay" <jay@say.no.to.spam> wrote in message
news:%23NFul3t2FHA.4076@TK2MSFTNGP09.phx.gbl...
> Hi,
>
> I know that you can use cell(row, col) to access a particular cell in
> a table. But what if some cells have been merged and others have been
> split, which makes the definition of row and col tricky. Is there
> still a way to access individual cells?
>
> Thanks,
>
> Jay
>
>



Re: Accessing cells in an 'uneven' table by Tony

Tony
Thu Oct 27 07:43:37 CDT 2005

You can use TableRef.Range.Cells(n) to access an individual cell.

You can get a nominal Row and Column by examining the RowIndex and
ColumnIndex properties but you cannot use these to access the cell.

The Next and Previous properties will navigate through the table but not in
quite the same way as using Tab (which nominally does a NextCell).

--
Enjoy,
Tony


"Jay" <jay@say.no.to.spam> wrote in message
news:#NFul3t2FHA.4076@TK2MSFTNGP09.phx.gbl...
> Hi,
>
> I know that you can use cell(row, col) to access a particular cell in
> a table. But what if some cells have been merged and others have been
> split, which makes the definition of row and col tricky. Is there
> still a way to access individual cells?
>
> Thanks,
>
> Jay
>
>



Re: Accessing cells in an 'uneven' table by Jay

Jay
Fri Oct 28 02:51:31 CDT 2005

Thanks everyone for your answers,

Jay