[Libreoffice-bugs] [Bug 131563] New: Cannot set cell font color from VBA macro

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Mar 25 11:46:21 UTC 2020


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

            Bug ID: 131563
           Summary: Cannot set cell font color 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 158975
  --> https://bugs.documentfoundation.org/attachment.cgi?id=158975&action=edit
Example file from Excel

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

Cells(2, 1).Font.Color = vbRed

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

Actual results:
A2 cell text becomes red in Excel but stays default in Calc.

Expected results:
A2 cell text becomes red in Calc.

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/e7ee70ac/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list