Hi Bernard, Selon Bernard Marcelly <[EMAIL PROTECTED]>: > maDoc = ThisComponent > cursVisible = maDoc.getCurrentController().getViewCursor() > cursVisible.jumpToFirstPage > > Run the macro from the Writer window, not the IDE window.
ok, the last line is really important ;) I was doing the same from the IDE. Thanks, Cedric --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
