<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - thisComponent is not valid during "Open Document" at startup in non-document macro"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=92770#c15">Comment # 15</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - thisComponent is not valid during "Open Document" at startup in non-document macro"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=92770">bug 92770</a>
from <span class="vcard"><a class="email" href="mailto:lionel@mamane.lu" title="Lionel Elie Mamane <lionel@mamane.lu>"> <span class="fn">Lionel Elie Mamane</span></a>
</span></b>
<pre>Reproduced on 6.3.0.4 (Debian package).
(In reply to Buovjaga from <a href="show_bug.cgi?id=92770#c14">comment #14</a>)
<span class="quote">> I get
> BASIC runtime error.
> Variable not defined.
>
> for showThisComponent() even when opening the file with Low macro security
> setting.</span >
I think you didn't follow the following step in the reproduction instructions:
Put in "My Macros" the following (beware bugzilla's word wrap):
Sub showThisComponent
MsgBox "Macro in ""My Macros"": " & _
thisComponent.supportsService("com.sun.star.document.OfficeDocument")
End Sub</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>