Apache OpenOffice (AOO) Bugzilla – Issue 39896
macro fails to record proper sequence
Last modified: 2013-08-07 15:12:27 UTC
when using macro record, the record fails. i wish to insert sheets with this macro. turning on macro record and begin the sheet insertion, i select from file and click the link button. i finish the insertion, end record and name the macro. i try to run the macro and it does nothing. i edit the macro and it contains no actual functioning code. basically the shell of the subroutine. sub InsertTimeStandards rem ---------------------------------------------------------------------- rem define variables dim document as object dim dispatcher as object rem ---------------------------------------------------------------------- rem get access to the document document = ThisComponent.CurrentController.Frame dispatcher = createUnoService("com.sun.star.frame.DispatchHelper") rem ---------------------------------------------------------------------- rem dispatcher.executeDispatch(document, ".uno:Insert", "", 0, Array()) rem ---------------------------------------------------------------------- rem dispatcher.executeDispatch(document, ".uno:Insert", "", 0, Array()) end sub using 1.1.4 version
Hi Jörg, please have a look at this one. Frank
Hi ktom, this will not be fixed for OOo 1.1.x anymore. According to our PCD i set this task to office later and duplicate to the macro recorder meta-bug (issue #20046) which covers any non functioning code created with the macro recorder. You have to use the API i'm afraid. *** This issue has been marked as a duplicate of 20046 ***
close