Cannot Write/Edit Visual Basic for Applications Code in Binder

Last reviewed: April 8, 1997
Article ID: Q135249
7.00 WINDOWS kbprg kbinterop

The information in this article applies to:

  • Microsoft Office for Windows 95, version 7.0
  • Microsoft Binder for Windows 95, version 7.0
  • Microsoft Excel for Windows 95, version 7.0

SUMMARY

If you are using Microsoft Excel in a Microsoft Binder section, you will be unable to access Visual Basic modules. That is, you cannot write or edit Visual Basic code when you access Microsoft Excel in a Binder section. In addition, you cannot add a Microsoft Excel section to a Binder if a module sheet is the active sheet. Also, note that Microsoft Excel Auto_Open sub procedures are inactive in Microsoft Binder.

MORE INFORMATION

To write or edit Visual Basic for Applications code, use the following steps to view the Microsoft Excel section outside of the Binder:

  1. On the Section menu, click View Outside.

  2. Edit the Visual Basic for Applications module.

  3. Hide the module sheet or switch to a worksheet in the workbook.

  4. Quit the outside view and return to the Binder.

If a module is active when you close the file, the following message is displayed:

   Cannot close a document Object with a module active. Please switch to
   another sheet in the workbook.


KBCategory: kbprg kbinterop
KBSubcategory: xlwin offwin

Additional reference words: 7.00 off7 xl7 macro macros

Keywords : offwin xlwin kbinterop kbprg
Version : 7.00
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 8, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.