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

          Priority: medium
            Bug ID: 71071
          Assignee: [email protected]
           Summary: Other: VBA macro: string tables: dimension error
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: [email protected]
          Hardware: Other
        Whiteboard: BSA PossibleRegression
            Status: UNCONFIRMED
           Version: Inherited From OOo
         Component: Spreadsheet
           Product: LibreOffice

Created attachment 88386
  --> https://bugs.freedesktop.org/attachment.cgi?id=88386&action=edit
The example file descriped.

Problem description: 
Libreoffice does not seem to handle string table dimensions correctly in vba.

Example:
http://www.st.com/web/en/catalog/tools/PF257927
STSW-STM32091.zip => STM32F4xx_Clock_Configuration_V1.1.0.xls

Steps to reproduce:
1. Enable macross
2. Open the file described
3. get the error mentioned in current behaviour.
4. Pointer complaining the line: 
If (PLLUSB_table(i1, i2, i3) Like "1") Then
where the PLLUSB_table is defined as
Dim PLLUSB_table(0 To 61, 0 To 240, 0 To 3, 0 To 11) As String

Current behavior:
"BASIC syntax error.
Dimension specifications do not match."

Expected behavior:
No error. 
As I'm not an expert on vba I guess that the first dimension (size of 61)
should be read as the lenght of the strings that are handled.
Operating System: Ubuntu
Version: Inherited From OOo
Last worked in: 4.1.1.2 release

-- 
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