<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 - Macro in XLSM gives error in Calc, but runs fine in Excel"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=107902">107902</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Macro in XLSM gives error in Calc, but runs fine in Excel
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>5.4.0.0.alpha1+ Master
</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>Keywords</th>
<td>filter:xlsx, regression
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Calc
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>baron@caesar.elte.hu
</td>
</tr>
<tr>
<th>CC</th>
<td>szymon.klos@collabora.com
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=133368" name="attach_133368" title="Sample XLSM that gives error in Calc when run">attachment 133368</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=133368&action=edit" title="Sample XLSM that gives error in Calc when run">[details]</a></span>
Sample XLSM that gives error in Calc when run
Open the attached Excel spreadsheet with a simple macro, and run the macro.
Execution fails with error:
"BASIC runtime error.
'1'
Type: com.sun.star.lang.WrappedTargetRuntimeException
Message: non-RuntimeException occurred when accessing an interface type
attribute"
There's no error message if the first line of the macro is changed
- from: Range("A1").Select
- to: Range("A1:A5").Select
In Excel the macro runs fine in both cases.
Occurs in 5.4 master build (68a1cb23ede1d4ae6195850190fca6953c30417f) / Windows
7, doesn't occur in 5.2.0.4. => regression</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>