Microsoft KB Archive/177963

= WD98: UserForm Controls Truncate Last Letter of Selection =

Article ID: 177963

Article Last Modified on 10/4/2002

-

APPLIES TO


 * Microsoft Word 98 for Macintosh

-



This article was previously published under Q177963



SYMPTOMS
When you display a UserForm, the last character in a UserForm Control (for example, a combo box) is partially truncated.



CAUSE
The UserForm may have been created in Microsoft Word 97 for Windows. The default font size in UserForms in Word for Windows is 8 points. In Word 98 Macintosh Edition, the default font size is 9 points.

When a document or template created in Microsoft Word 97 for Windows containing a UserForm is opened in the Macintosh Edition, the font size is changed from 8 points to 9 points. Because the UserForm control may have been sized to accommodate the default font size of 8 points, the control may no longer be large enough to fit all of the text within the UserForm control.



WORKAROUND
To work around this problem, use one of the following methods.

Method 1: Design Form to Be Compatible Across Platforms
When you design a UserForm in Word 97 for Windows, make the controls slightly wider than needed to be readable on the Macintosh.

Method 2: Edit the UserForm Controls
Edit the UserForm controls to accommodate a font size of 9 points. To edit the controls, follow these steps:


 * 1) On the Tools menu, point to Macro, and then click Visual Basic Editor.
 * 2) In the Visual Basic project window, double-click the project name referring to the document or template containing the UserForm (for example, Project(MYTEMPLATE.DOT)).
 * 3) Under the project name, double-click Forms.
 * 4) Under Forms, double-click the UserForm you want to edit.
 * 5) On the UserForm, select and re-size the control(s) to accommodate the font size of 9 points.
 * 6) On the File menu, click Save.
 * 7) On the File menu, click "Close and Return to Microsoft Word."



STATUS
Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Additional query words: OFF98 vbe

Keywords: kbprogramming kbprb KB177963

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.