Help: Overriding Words built-in-function

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
 

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