<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 - Attempting to run scripts before document initialized. FILEOPEN"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=123764">123764</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Attempting to run scripts before document initialized. FILEOPEN
</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>Linux (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>john.wayne.cornell@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>Description:
I receive the error "BASIC runtime error. Property or method not found: Sheets"
My sheet uses macros saved in "My Macros & Dialogs" and Libre is running the
macros before "ThisComponent.Sheets" has any value. I work around this by
repeatedly pressing OK until the spreadsheet is displayed, then I simply select
reload from the menu and everything works fine.
Steps to Reproduce:
1.Create Macro in "My Macros & Dialogs" which references ThisComponent.Sheets
2.call macro from cell in spreadsheet
3.Save. Close Calc. Load sheet from FileManager.
Actual Results:
Error reproduced
Expected Results:
Error reproduced
Reproducible: Always
User Profile Reset: No
Additional Info:
Version: 6.1.4.2
Build ID: 1:6.1.4-0ubuntu0.18.10.1
CPU threads: 8; OS: Linux 4.18; UI render: default; VCL: gtk3;
Locale: en-US (en_US.UTF-8); Calc: group threaded</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>