VBE: Insertion Point Does Not Stay at End of Text in UserForm

ID: Q179941

The information in this article applies to:

SYMPTOMS

When you type in a TextBox control of a Microsoft Visual Basic for Applications UserForm, the insertion point may not stay at the end of the typed text.

CAUSE

This problem is related to the font selected for the Font property of the text box.

WORKAROUND

To work around this problem, select a different font for the Font property of the text box. (For example, the Geneva font does not cause this problem.)

To select a different font for the Font property of the text box:

1. In the Visual Basic Editor Project Explorer, select the UserForm to

   edit.

2. On the View menu, click Object.

3. Right-click the text box. On the Shortcut menu, click Properties.

4. In the Properties window, double-click Font.

5. Select a different font, and then click OK.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

REFERENCES

For more information about getting help with Visual Basic for Applications, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q163435
   TITLE     : VBA: Programming Resources for Visual Basic for
               Applications

Additional query words: user form custom dialog box
Version           : MACINTOSH:98
Platform          : MACINTOSH
Issue type        : kbbug

Last Reviewed: February 4, 1998