Article ID: 154900
Article Last Modified on 1/19/2007
APPLIES TO
- Microsoft Word 97 Standard Edition
- Microsoft Excel 97 Standard Edition
- Microsoft PowerPoint 97 Standard Edition
- Microsoft Access 97 Standard Edition
This article was previously published under Q154900
SUMMARY
In the Microsoft Office products listed at the beginning of this article, when you display a UserForm that contains a TextBox control, by default the cursor position in the TextBox control is indented. If you want the initial cursor position in the TextBox control to be left justified, you must set the SelectionMargin property of the TextBox to False.
MORE INFORMATION
To set the SelectionMargin property of the TextBox control, perform the following steps:
- From within the Visual Basic Editor, select the TextBox control that you have inserted on the UserForm.
- On the View menu, click Properties Window.
- In the Properties Window, click SelectionMargin.
- Select False from the drop-down list.
The next time that the UserForm is displayed, the initial cursor position will be left justified in the TextBox.
Additional query words: dialog edit box xl97 kbtool
Keywords: kbprogramming KB154900