M
Mo
Hi there,
what is the MacroName for the function, found in the toolbar, to insert a
table and select the desired number of rows and columns by dragging the mouse?
I need to override that macro in order to set the checkbox .AllowAutoFit =
False (It is True by default) when a new table is created that way.
I have succeeded in overriding the Macro TableInsertTable in the desired
template. I can set
..AllowAutoFit = False which is the desired behaviour. It looks like this:
Sub TableInsertTable ()
With Dialogs(wdDialogTableInsertTable)
If .Show = -1 Then
Selection.Tables(1).AllowAutoFit = False
End If
End With
End Sub
TIA,
Peeter
what is the MacroName for the function, found in the toolbar, to insert a
table and select the desired number of rows and columns by dragging the mouse?
I need to override that macro in order to set the checkbox .AllowAutoFit =
False (It is True by default) when a new table is created that way.
I have succeeded in overriding the Macro TableInsertTable in the desired
template. I can set
..AllowAutoFit = False which is the desired behaviour. It looks like this:
Sub TableInsertTable ()
With Dialogs(wdDialogTableInsertTable)
If .Show = -1 Then
Selection.Tables(1).AllowAutoFit = False
End If
End With
End Sub
TIA,
Peeter