![]() |
#3
|
||||
|
||||
![]()
Personally, I'd be inclined to bookmark the table or bind it to a suitably-titled rich text content control, so it no longer matters where the table occurs in the document. Then you could use code like:
Code:
Dim Rng As Range, i As Long With ActiveDocument.Bookmarks("MyTable").Range.Tables(1) Set Rng = .Cell(Row:=3, Column:=3).Range i = Len(Rng.Text) - 1 If i > 40 Then MsgBox "40 Char Description: Exceeded Character Limit of 40 " & "(" & i & ")" End If End With
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
Tags |
error, range, table |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
droseman | Word | 1 | 09-05-2014 05:39 PM |
![]() |
Toto | Word | 1 | 06-07-2014 03:51 PM |
Using reference table | BritBiker2 | Excel | 3 | 02-23-2013 05:27 AM |
Why does Word separate table and reference endnotes by allowing text to go in between | newby2013 | Word Tables | 2 | 12-31-2012 03:45 PM |
How do I reference a merged cell in a multi column & row table in MS Word ('03')? | jihanemo | Word Tables | 0 | 03-18-2009 08:33 AM |