Win XP SP2, Word 2003
I would like to code a statement to put the text that is in an explict
cell of an explicit table into a TextBox on a vba UserForm. Something
like
TextBox1.Text = TableName.CellAddress.Text
in the code for the UserForm.
Where do I find the correct general syntax for such a statement?
How is a Table in a Word document named? How is a specific cell
addressed (e.g., same as in Excel, or something different?) Where is
this written up?
Many thanks,
Fred Holmes
Word Heretic - 23 Dec 2004 04:55 GMT
G'day Fred Holmes <fsh@his.com>,
The safest way is something like
ActiveDocument.Tables(i).range.Cells(n)
where n is the number of cells into the table. With a three col table,
cell 2 row 2 is thus cells(5).
Steve Hudson - Word Heretic
steve from wordheretic.com (Email replies require payment)
Without prejudice
Fred Holmes reckoned:
>Win XP SP2, Word 2003
>
[quoted text clipped - 15 lines]
>
>Fred Holmes