<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Cannot set cell font color from VBA macro"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=131563">131563</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Cannot set cell font color from VBA macro
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>Inherited From OOo
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>BASIC
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>libreoffice@nisz.hu
</td>
</tr>
<tr>
<th>CC</th>
<td>nemeth@numbertext.org
</td>
</tr>
<tr>
<th>Blocks</th>
<td>108908
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=158975" name="attach_158975" title="Example file from Excel">attachment 158975</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=158975&action=edit" title="Example file from Excel">[details]</a></span>
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</pre>
</div>
</p>
<div id="referenced">
<hr style="border: 1px dashed #969696">
<b>Referenced Bugs:</b>
<ul>
<li>
[<a class="bz_bug_link
bz_status_NEW "
title="NEW - [META] Visual Basic for Applications (VBA) macro issues"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=108908">Bug 108908</a>] [META] Visual Basic for Applications (VBA) macro issues
</li>
</ul>
</div>
<br>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>