WD98: UserForm Controls Truncate Last Letter of Selection

ID: Q177963

The information in this article applies to:

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 <document name>.

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          : kbprg OffVBA kbwordvba macword98 
Version           : MACINTOSH:98
Platform          : MACINTOSH
Issue type        : kbprb

Last Reviewed: February 14, 1998