https://bugs.freedesktop.org/show_bug.cgi?id=44753

             Bug #: 44753
           Summary: accesing cells in sheet (calling macro) from called
                    macro
    Classification: Unclassified
           Product: LibreOffice
           Version: LibO 3.5.0 Beta3
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
        AssignedTo: [email protected]
        ReportedBy: [email protected]


have a qustion abou VBA macros:

How can I access worksheets cells from VBA macro placed in 

[My macros and dialogs].basic (or other library)?



Macro below works if is placed in [TestFile.xls].VBAProject but does not

work in [My macros and dialogs].basic. The error message is :

BASIC

runtime error.

'35'

cells



Rem Attribute VBA_ModuleType=VBAModule

Option VBASupport 1



Sub Test()

Cells(1, 1).Value = Time()

End Sub

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to