Microsoft KB Archive/158639

= XL97: Edit Box Does Not Appear in Toolbox =

Article ID: 158639

Article Last Modified on 10/11/2006

-

APPLIES TO


 * Microsoft Excel 97 Standard Edition

-



This article was previously published under Q158639





SYMPTOMS
When you are working with a UserForm in a Visual Basic for Applications project, the Toolbox that contains all the available controls for the UserForm does not contain an edit box control.



CAUSE
The edit box control, which is available on the Forms toolbar in Microsoft Excel 5.0 and 7.0 dialog sheets, is replaced by the TextBox control in Microsoft Excel 97.



MORE INFORMATION
In addition to the TextBox control, you can add a RefEdit control to a UserForm. The RefEdit control is similar in function to an edit box control with an InputType property that is set to xlReference. You can use the RefEdit control to select a cell range. The range reference is automatically entered in the RefEdit control.

NOTE: By default, the RefEdit control is not available in the UserForm Toolbox. To make the RefEdit control available in the Toolbox, use the following steps:


 * 1) In the Visual Basic Editor, insert a UserForm into a project.
 * 2) On the Tools menu, click Additional Controls.
 * 3) In the Additional Controls dialog box, click the RefEdit.Ctrl check box, and then click OK.

The RefEdit control is displayed in the Toolbox.

For additional information, please see the following article in the Microsoft Knowledge Base:

158402 XL97: Using the RefEdit Control with a UserForm

