OFF: Error When You Remove Forms Object Library Reference

ID: Q155207


The information in this article applies to:
  • Microsoft Office 97 for Windows
  • Microsoft Excel 97 for Windows
  • Microsoft Word 97 for Windows
  • Microsoft Office 98 Macintosh Edition
  • Microsoft Excel 98 Macintosh Edition
  • Microsoft Word 98 Macintosh Edition


SYMPTOMS

When you remove the reference to the "Microsoft Forms 2.0 Object Library" in Visual Basic Editor, the following message appears:

Can't remove control or reference; in use
and you are unable to remove the reference from your project.


CAUSE

The "Microsoft Forms 2.0 Object Library" is required by the Visual Basic Editor. The reference cannot be removed.


STATUS

This behavior is by design of Microsoft Excel 97 and Microsoft Excel 98 Macintosh Edition.


MORE INFORMATION

The References dialog box allows you to add or remove references to object libraries or type libraries. When you add a reference, your Microsoft Visual Basic for Applications project code can access the objects in the library.

NOTE: After you add a reference to a library, the objects in the library appear in the Object Browser.


REFERENCES

For more information about the Visual Basic Editor, click the Index tab in Microsoft Excel 97 Help, type the following text

macro sheets
and then double-click the selected text to go to the "About workbooks and worksheets" topic.

Additional query words: XL97 XL98 xlwin

Keywords : kberrmsg kbprg
Version : MACINTOSH:98; WINDOWS:97
Platform : MACINTOSH WINDOWS
Issue type :


Last Reviewed: October 25, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.