Hi Steffen, thx for the fast answer,
Peter Steffen Grund schrieb:
Hi Peter,add the following lines to the end of the macro that is executed when the button is pressed:xWindow = ThisComponent.currentController.Frame.ContainerWindow xWindow.setFocus() This sets the focus back to the document,
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]