![]() |
#9
|
||||
|
||||
![]()
Does this one solve the allow autofit issue?
Code:
Sub TablesResizeAll() Dim oTbl As Table For Each oTbl In ActiveDocument.Tables If Not oTbl.Rows.WrapAroundText Then oTbl.AllowAutoFit = False oTbl.AutoFitBehavior wdAutoFitFixed oTbl.PreferredWidthType = wdPreferredWidthPoints oTbl.PreferredWidth = InchesToPoints(7.2) oTbl.Rows.Alignment = wdAlignRowLeft oTbl.Rows.LeftIndent = InchesToPoints(0.3) End If Next oTbl End Sub
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Ulodesk | Word VBA | 2 | 02-06-2020 06:49 AM |
IF Statement Adjustment | shawn.low@cox.net | Mail Merge | 0 | 09-23-2019 10:08 AM |
Can I disable auto adjustment of sizes in Smart art Hierarchy charts? | frankgoldman | PowerPoint | 1 | 05-04-2019 04:37 AM |
![]() |
zbiku25 | Project | 3 | 02-28-2017 09:03 AM |
![]() |
TheMax | OneNote | 1 | 01-23-2015 04:33 PM |