Microsoft KB Archive/177889

= WD98: Cursor Does Not Display in Correct Position in VBA Editor =

Article ID: 177889

Article Last Modified on 10/4/2002

-

APPLIES TO


 * Microsoft Word 98 for Macintosh

-



This article was previously published under Q177889



SYMPTOMS
The insertion point exhibits erratic behavior while in the Visual Basic Editor. For example, if the insertion point is at the beginning of the following statement:

MsgBox "Is the Cursor at the end of this line?"

and you press the End key, the insertion point moves between the letters "n" and "e" of "line."



CAUSE
The Editor Format font is set to Courier New, and the font size is equal to or greater than 16 points.



WORKAROUND
To work around this problem, use a font other than Courier New or decrease the font size to less than 16 points.

To change the font used by the Visual Basic Editor, follow these steps:


 * 1) In the Visual Basic Editor, click Preferences on the Tools menu.
 * 2) Click the Editor Format tab.
 * 3) In the Font list, select a font other than Courier New.

-or-

In the Size box, type or select a font size that is less than 16 points.
 * 1) 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.



MORE INFORMATION
