incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 120414] New: can't run VBA macros from command line
Date Mon, 30 Jul 2012 21:42:16 GMT

          Priority: P3
            Bug ID: 120414
           Summary: can't run VBA macros from command line
          Severity: major
        Issue Type: DEFECT
    Classification: Application
                OS: All
          Hardware: All
            Status: UNCONFIRMED
           Version: AOO 3.4.0
         Component: programming
           Product: spreadsheet

Created attachment 78786
this file contains the above macro code

I've created an .ods file containing the following VBA macro:

   REM  *****  BASIC  *****

   Sub Main
   End Sub

I'm unable to run this macro from the command line. I've tried it on three
different computers running three different operating systems (Windows XP,
Windows 7, and Redhat Linux version 5.4).  The actual command that I'm issuing

   soffice "test1.ods" "macro://test1/Standard.Module1.Main()"

If macro security is turned on, I get a message that the macro cannot run
because of my macro security level.  If I turn off macro security, issuing the
above command causes the Calc application to open but does not cause the macro
to run.

You are receiving this mail because:
You are the assignee for the bug.

View raw message