To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=74657
------- Additional comments from [EMAIL PROTECTED] Mon Feb 19 20:30:26 +0000 2007 ------- For your information, This macro is probably coming from StarOffice 5, and uses obsolete code. OpenOffice is not fully compatible with StarOffice 5, and OOo 1.0.1 is no longer supported. First error : variable mNoArgs must be defined as an array (empty array in your case) dim mNoArgs() Second error : the url for creating a new writer document is incorrect. It should be sUrl = "private:factory/swriter" And final remark: OpenOffice Basic provides a convenient StarDesktop. Corrected code : dim mNoArgs() sUrl = "private:factory/swriter" oDocument = StarDesktop.LoadComponentFromURL(sUrl,"_blank",0,mNoArgs) oText = oDocument.Text oText.setString("") oCursor = oText.createTextCursor() Please use existing forums or mailing lists for further help, e.g. http:// www.oooforum.org/ --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]