Hi! I found a trick to open a new base document from a macro with Dialog Wizard. This is the snippet
[code] oDesktop = CreateUnoService("com.sun.star.frame.Desktop")doc = oDesktop.loadComponentFromURL("private:factory/sdatabase?Interactive", "_blank", 0, args)
[/code] I hope it will be usefull for someone --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]