<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 12: Error when reading data in the module</title><link href="https://sourceforge.net/p/invisiblebasic/bugs/12/" rel="alternate"/><link href="https://sourceforge.net/p/invisiblebasic/bugs/12/feed.atom" rel="self"/><id>https://sourceforge.net/p/invisiblebasic/bugs/12/</id><updated>2010-09-20T14:43:10Z</updated><subtitle>Recent changes to 12: Error when reading data in the module</subtitle><entry><title>Error when reading data in the module</title><link href="https://sourceforge.net/p/invisiblebasic/bugs/12/" rel="alternate"/><published>2010-09-20T14:43:10Z</published><updated>2010-09-20T14:43:10Z</updated><author><name>Peter Keller</name><uri>https://sourceforge.net/u/peterkeller/</uri></author><id>https://sourceforge.net2c3cb35fb0bb4d27e4d914e893624a1c3b49fcce</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The Scrambling function reports an automation error in the function "read component code(vbc as object, f as string) when reading the visible code as shown below:&lt;/p&gt;
&lt;p&gt;Values: sline = "byref namemacro as string, optional txtshortcut as string) as commandbarbutton"&lt;/p&gt;
&lt;p&gt;This code belong to the procedure with the following code:&lt;br /&gt;
Private Function MakeSubMenuItem(ByRef MenuItem As CommandBarControl, ByRef NameMenuItem As String, _&lt;br /&gt;
ByRef FaceID As Long, ByRef BoolBeginGroup As Boolean, _&lt;br /&gt;
ByRef NameMacro As String, Optional txtShortcut As String) As CommandBarButton&lt;br /&gt;
'...&lt;br /&gt;
End Function&lt;/p&gt;
&lt;p&gt;The interesting thing is that the function has not been scrambled at all ( i excluded it with #begin_visible,...). The fix I found to allow scrambling is to open the excel file - that i want to scramble - with disabled macros. So I guess the error has to do with the debugger, but the question remains why I'm the only one who has this problem.&lt;/p&gt;
&lt;p&gt;Regards&lt;br /&gt;
Peter&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>