View Single Post
 
Old 09-10-2012, 02:53 PM
knightmetal knightmetal is offline Windows 7 32bit Office 2007
Novice
 
Join Date: Sep 2012
Posts: 2
knightmetal is on a distinguished road
Default

Well, I'm replying to myself, just for people having the same problem in the future

Code:
Sub Macro1()
'
Dim pT As Word.Table
For Each pT In ActiveDocument.Tables
pT.PreferredWidth = MillimetersToPoints(170)
Next
MsgBox "done"
End Sub
170 is the width of the tables given in mm.

Last edited by macropod; 09-10-2012 at 10:42 PM. Reason: Added code tags & formatting
Reply With Quote