In addition to the text box control, you can add a ref edit control to a
UserForm. The ref edit control is similar in function to an edit box control
with an
InputType property that is set to xlReference. You can use the
ref edit control to select a cell range. The range reference is
automatically entered in the ref edit control.
NOTE: By default, the ref edit control is not available in the
UserForm
Toolbox. To make the ref edit control available in the
Toolbox,
follow these 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 to select the RefEdit.Ctrl check box,
and then click OK.
|
The ref edit control is displayed in the
Toolbox.