OFF: Error When You Remove Forms Object Library Reference

This article was previously published under Q155207
This article has been archived. It is offered "as is" and will no longer be updated.
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.
The "Microsoft Forms 2.0 Object Library" is required by the Visual BasicEditor. The reference cannot be removed.
This behavior is by design of Microsoft Excel 97 and Microsoft Excel 98Macintosh Edition.
More information
The References dialog box allows you to add or remove references to objectlibraries or type libraries. When you add a reference, your MicrosoftVisual Basic for Applications project code can access the objects in thelibrary.

NOTE: After you add a reference to a library, the objects in the libraryappear in the Object Browser.
For more information about the Visual Basic Editor, click the Index tab inMicrosoft Excel 97 Help, type the following text
macro sheets
and then double-click the selected text to go to the "About workbooks andworksheets" topic.
XL97 XL98 xlwin can t

Article ID: 155207 - Last Review: 10/26/2013 06:15:00 - Revision: 3.0

  • Microsoft Office 97 Standard Edition
  • Microsoft Excel 97 Standard Edition
  • Microsoft Word 97 Standard Edition
  • Microsoft Office 98 for Macintosh
  • Microsoft Excel 98 for Macintosh
  • Microsoft Word 98 for Macintosh
  • kbnosurvey kbarchive kberrmsg kbprogramming KB155207