
Signature
Greetings from Bavaria, Germany
Helmut Weber, MVP WordVBA
Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"
Hello Helmut,
Thank you for your reply.
> the end-of-row mark is in a table,
> but not in a cell.
So, in the presence of nested tables, I just have to check that
for Selection.Range.Characters.last, tables.count > cells.count ?
Best wishes,
Alex.
--
Address email to user "response" at domain "alexoren" with suffix "com"
Helmut Weber - 08 Oct 2005 20:56 GMT
Hi Alex,
I never used nested tables, and I think with good reason.
Don't understand, what you want to do.
Inserting a character in the last cell of a table,
though the are other, less wierd methods:
Dim r As Range
Set r = ActiveDocument.Tables(1).Range
r.Characters.Last.Previous.InsertBefore "x"

Signature
Greetings from Bavaria, Germany
Helmut Weber, MVP WordVBA
Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"