From: mjlaali on
Hi,

I want to change some properties of all the tables in a document, but I
don't know how to get writable objects of tables from the document.

From: Jay Freedman on
mjlaali wrote:
> Hi,
>
> I want to change some properties of all the tables in a document, but
> I don't know how to get writable objects of tables from the document.

Dim myTable As Table

For Each myTable In ActiveDocument.Tables
' do something with myTable, for instance:
myTable.Columns(1).Width = InchesToPoints(1.5)
Next

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.