Global Changes to Multiple Tables in the Same Document

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In a long document (400+ pages) there are about 100 seperate tables. We'd
like to change the column width in all the tables without having to work on
each table individually.

Is this possible?
 
Yes.

To change each column width to 1 inch:

Sub ScratchMacro()
Dim oTbl As Word.Table
Dim oCol As Word.Column
For Each oTbl In ActiveDocument.Range.Tables
For Each oCol In oTbl.Columns
oCol.Width = InchesToPoints(1)
Next oCol
Next oTbl
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top