[Libreoffice-bugs] [Bug 131555] New: Cannot set cell borders from VBA macro

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Mar 25 08:07:22 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=131555

            Bug ID: 131555
           Summary: Cannot set cell borders from VBA macro
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: libreoffice at nisz.hu
                CC: nemeth at numbertext.org
            Blocks: 108908

Created attachment 158969
  --> https://bugs.documentfoundation.org/attachment.cgi?id=158969&action=edit
Example file from Excel

Attached file contains a simple macro to set cell borders.
This call does not work in Calc:

Range("A3:B6").Borders.LineStyle = xlContinuous

Steps to reproduce:
1.      Open attached xlsm file
2.      Run the macro in Excel and Calc

Actual results:
In Excel the cells A3:B6 are filled with “Hello World” text and a border is set
around them. In Calc the text appears but not the border.

Expected results:
Border is set for cells.

LibreOffice details:
Version: 7.0.0.0.alpha0+ (x64)
Build ID: bc898e2c2784e36ad4d4cdf6d962e39069d2c82d
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win; 
Locale: hu-HU (hu_HU); UI-Language: en-US
Calc: CL

Also happens in
LibreOffice 3.5.0rc3 
Build ID: 7e68ba2-a744ebf-1f241b7-c506db1-7d53735


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=108908
[Bug 108908] [META] Visual Basic for Applications (VBA) macro issues
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200325/01885e8d/attachment.htm>


More information about the Libreoffice-bugs mailing list