WD: Text Form Field Converts to Underline Characters
Last reviewed: May 14, 1998 |
The information in this article applies to:
SYMPTOMSWhen you open a document containing text form fields, the form fields are underlined and you cannot remove the underlining.
CAUSEThe document may have been converted to Word 6.0/95 format in Word 98 Macintosh Edition.
WORKAROUNDTo remove the underlining, use one of the following methods.
Method 1: Edit the Form FieldEditing the form field will remove the underlining. However, saving the document back as Word 6.0\95 format from Word 98 Macintosh Edition, closing, and then reopening the document causes the underlining to reappear. To edit a form field, follow these steps:
Method 2: Unprotect and Protect the Document Containing the Form FieldsMicrosoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs. If you have limited programming experience, you may want to contact the Microsoft fee-based consulting line at (800) 936-5200. For more information about the support options available from Microsoft, please see the following page on the World Wide Web:
http://www.microsoft.com/support/supportnet/refguide/default.aspTo use this method in Word 6.x for the Macintosh, use the following WordBasic macro:
Sub MAIN
Dim Dlg As ToolsProtectDocument
On Error Resume Next
GetCurValues Dlg
If Dlg.Type <> 2 Then
' Unprotect the form.
' NOTE: include .DocumentPassword for password protected form.
ToolsUnprotectDocument
End If
' Protect for Forms without resetting values.
' NOTE: include .DocumentPassword for password protected form.
ToolsProtectDocument .NoReset = 1, .Type = 2
End Sub
NOTE: This WordBasic code will not run correctly in Word 98 Macintosh
Edition.
For ease of use, you can assign this macro to a menu or toolbar. For more information about adding a command to a menu Word 6.x for the Macintosh, click Search For Help On on the Help menu (or on the Balloon Help menu if you are using a version of the Macintosh operating system earlier than 8.0), type the following text
assigningand then click Show Topics. Select the "Assigning a command or other item without a built-in button to a toolbar button" topic and click Go To.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.
|
Additional query words: underscore characters |
Last reviewed: May 14, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.