getting writable table objects of a document

M

mjlaali

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.
 
J

Jay Freedman

mjlaali said:
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
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
Top