<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 - "Application.CommandBars("Ply").Enabled = True" VBA error"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=134471">134471</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>"Application.CommandBars("Ply").Enabled = True" VBA error
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.4.2.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>testing1237a-c@yahoo.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
BASIC runtime error.
'1'

Type: com.sun.star.uno.DeploymentException
Message: component context fails to supply singleton
com.sun.star.ui.theModuleUIConfigurationManagerSupplier of type
com.sun.star.ui.XModuleUIConfigurationManagerSupplier

Steps to Reproduce:
vba containing the code 
Application.CommandBars("Ply").Enabled = True

throws the error and does not work. calc shifts user to libreoffice basic with
this error and refuses to go to actual document. Further, does not allow user
to easily close the file 


Actual Results:
<a href="https://stackoverflow.com/questions/24540929/commandbarsply-wont-reset-on-workbook-beforeclose-vba-excel">https://stackoverflow.com/questions/24540929/commandbarsply-wont-reset-on-workbook-beforeclose-vba-excel</a>

Expected Results:
vba should execute as it works in excel


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 6.4.2.2
Build ID: 4e471d8c02c9c90f512f7f9ead8875b57fcb1ec3
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: kf5; 
Locale: en-IN (en_IN.UTF-8); UI-Language: en-US
Calc: 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>