F
Frank
I want to write a vba macro in a word document that can be distributed to
other Word users. This macro should create a new macro (see below) in the
normal.dot template and create a macro command entry on the Formatting
toolbar.
How is this done?
Regards
Frank Krogh
________________
' AdjustTables Macro
Application.ScreenUpdating = False
For Each aTable In ActiveDocument.Tables
aTable.AutoFitBehavior (wdAutoFitContent)
Next aTable
Application.ScreenUpdating = True
End Sub
other Word users. This macro should create a new macro (see below) in the
normal.dot template and create a macro command entry on the Formatting
toolbar.
How is this done?
Regards
Frank Krogh
________________
' AdjustTables Macro
Application.ScreenUpdating = False
For Each aTable In ActiveDocument.Tables
aTable.AutoFitBehavior (wdAutoFitContent)
Next aTable
Application.ScreenUpdating = True
End Sub