Also, I get a different response with different dialog boxes.
With the Macros dialog box, I get the error, as mentioned. With the
Find dialog box, the TimeOut argument works correctly: the box goes
away after one second and there's no error. But with the Customize
dialog box, nothing happens, the box remains in view.
So, three different dialog boxes, three different behaviors.
Dialogs(wdDialogToolsMacro).Show TimeOut:=1000
Dialogs(wdDialogEditFind).Show TimeOut:=1000
Dialogs(wdDialogToolsCustomize).Show TimeOut:=1000
Larry
> I long time ago I asked if there was a way to have a dialog box close
> automatically and there didn't seem to be any way to do it. But
[quoted text clipped - 14 lines]
> Thanks,
> Larry
Larry - 17 Jan 2005 00:28 GMT
I can get it to work using Resume Next
On Error Resume Next
Dialogs(wdDialogToolsMacro).Show TimeOut:=1000
But that seems like cheating. :-)
Larry
> Also, I get a different response with different dialog boxes.
>
[quoted text clipped - 29 lines]
> > Thanks,
> > Larry