adressing cells in table

M

Martin

Dear experts,

how can I select a cell in a table, some cells of which are 'connected' in
the column next to it? The error message reads that an addressing of any cell
is not feasible in a table whose cells are connected in any of its columns.
But my selection confines itself to only one column, where the number of rows
and cells should always be well-defined.

Thank you
Martin
 
H

Helmut Weber

Hi,

how does your code look?
What exactly is the error message?

The following works perfectly,
here and now, though the table contains
vertically and horizontally merged cells.

Sub test666()
Dim c As Cell
For Each c In Selection.Tables(1).Range.Cells
c.Select
Next
End Sub

Greetings from Bavaria, Germany
Helmut Weber, MVP
"red.sys" & chr(64) & "t-online.de"
Word 2002, Windows 2000
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top