<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 - changing named ranges content via vba macro will not update cell formula"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=122394">122394</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>changing named ranges content via vba macro will not update cell formula
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>6.1.4.2 release
</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>Calc
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>oliver.brinzing@gmx.de
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=147909" name="attach_147909" title="test vlookup changed range vba">attachment 147909</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=147909&action=edit" title="test vlookup changed range vba">[details]</a></span>
test vlookup changed range vba
i noticed the problem while investigating issue
<a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - conditional formatting with formula is VLOOKUP(C14,Region,1,0) is VLOOKUP(C14,#NAME?,1,0)"
href="show_bug.cgi?id=122378">https://bugs.documentfoundation.org/show_bug.cgi?id=122378</a>
- open attached "test_vlookup_changed_range_vba.ods"
- press button
- named range "Region" content is changed via:
ThisWorkbook.Names("Region").RefersTo = "=Sheet1!$A$9:$B$11"
- but vlookup formula's in A2:A4 will not update
- a full hard recalc will not work
- the document keeps unmodifed
- to force a recalc, e.g. cell A2
- select A2
- press F2
- press space
- enter
btw.:
the problem does not happen if named ranges content is changed via lo api,
see "test_vlookup_changed_range.ods"</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>