To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=54624 Issue #:|54624 Summary:|Record File - Save As in a macro, but it won't run Component:|Word processor Version:|OOO 2.0 Beta2 Platform:|PC URL:| OS/Version:|Windows XP Status:|UNCONFIRMED Status whiteboard:| Keywords:| Resolution:| Issue type:|DEFECT Priority:|P3 Subcomponent:|save-export Assigned to:|mru Reported by:|mark_irving
------- Additional comments from [EMAIL PROTECTED] Wed Sep 14 16:54:57 -0700 2005 ------- Create a new blank text document. Use Tools - Macros - Record Macro to start recording a macro. Use File - Save As - choose a name, select Microsoft Word 97 format, click Save. Finish recording the macro, and save it - I used the suggested default location. Now use Tools - Macros - Run Macro... to try to run this new macro. I get a pop-up error message which says, "Inadmissible value or data type. Index out of defined range." It seems to be right: the body of my new macro goes like this: dim args1(2) as new com.sun.star.beans.PropertyValue args1(0).Name = "URL" args1(0).Value = "file:///C:/Documents%20and%20Settings/Mark/My%20Documents/Cycling%20Campaign/Newsletter/NL62/Copy/test.doc" args1(1).Name = "FilterName" args1(1).Value = "MS Word 97" args1(4).Name = "SelectionOnly" args1(4).Value = true ...and I can see that args1(4) is a nonsense. I am an absolute beginner to OOo macros, and this was my first ever attempt to create one. I was hoping to learn about macros, rather than about OOo issue reporting! --------------------------------------------------------------------- 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]