Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Klaus Linke
 
Posts: n/a
Default Can tables be permanently set to Fixed Column Width?

"Stefan Blom" wrote:
A different way to accomplish what you want is to
record a macro with the desired settings and then
attach it to a toolbar button.



I use a macro that
-- sets AutoFit to contents (so the column widths are optimized),
-- then sets AutoFit to window (so the table width gets set to the page
width),
-- then sets AutoFit to fixed (so the column widths stay fixed, and Word
doesn't slow down from re-adjusting them all the time).

' applies to the table the cursor is in:
With Selection.Tables(1)
.AutoFitBehavior (wdAutoFitContent)
ActiveDocument.Repaginate
.AutoFitBehavior (wdAutoFitWindow)
ActiveDocument.Repaginate
.AutoFitBehavior (wdAutoFitFixed)
End With

Regards,
Klaus

 
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Not your average Word column question - help! John Microsoft Word Help 6 January 11th 05 05:32 AM
Is there a way to "join" tables in Word 2003? Julian Turner Tables 3 October 28th 04 06:51 PM


All times are GMT +1. The time now is 09:44 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"