Turn off Automatically Resize to Fit Contents?

  • Thread starter Grace L. Judson
  • Start date
G

Grace L. Judson

Is there any way to set Word 2002 and 2003 up so that tables are created
with "Automatically resize to fit contents" turned OFF?

If not ... is there a shorter way to get it turned off than by going through
the several layers of clicks and windows to get to that check box?

Thank you!
 
C

Chad DeMeyer

Grace,

You can do it with a macro:

Sub TableInsertTable()
If Dialogs(wdDialogTableInsertTable).Show = -1 Then
If Selection.Tables.Count = 0 Then Selection.MoveUp
Set InsertedTable = Selection.Tables(1)
InsertedTable.AllowAutoFit = False
End If
End Sub

This macro replaces the built-in command to insert a table in Word because
it has the same name as the built-in command. If the user clicks Cancel in
the Insert Table dialog, no other action is taken. This won't catch tables
created with Convert Text To Table.

Regards,
Chad
 

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

Top