

- Insert text field in word document over an underline how to#
- Insert text field in word document over an underline code#
- Insert text field in word document over an underline windows#
This means that if the procedure you record is run with the document focus in the main text storyrange then only matching text in the main text storyrange is found.

Insert text field in word document over an underline windows#
This is useful for creating lines with names under them for signing official documents.įield codes work in all versions of Word, for both Windows and Mac.The purpose of this Microsoft Word Tips & Microsoft Word Help page is to publish a collection of VBA procedures (macros) useful for working with the Word field collection. If you want the line to extend beyond either end of the text, add spaces when entering the text into the field code.

When you put the cursor in text generated from using a field code, the text is highlighted in gray, just like the field code.
Insert text field in word document over an underline code#
NOTE: To display the field code again, simply right-click in the text and select “Toggle Field Codes” again. When the field code displays as normal text, you can highlight it and apply various formatting to it, such as font, size, bold, color, etc. The text you entered into the field code displays with a line above it. To display this as text rather than a field code, right-click anywhere in the field code and select “Toggle Field Codes” from the popup menu. Put the cursor between the parentheses and enter the text you want to overline. There are other switches you can use in the EQ field code, including ones that apply bottom, right, left, and box borders to the equation or text. “EQ” is the field code used to create an equation and the “\x” and “\to” are switches used to format the equation or text. NOTE: The only required space is the one between “EQ” and “\x”. The cursor is automatically placed in between the brackets.Įnter the following text between the brackets. Press “Ctrl + F9” to insert field code brackets, which are highlighted in gray. Open an existing or new document in Word and place the cursor where you want to put the text with overlining.
Insert text field in word document over an underline how to#
You can apply overlining to your text in Word using a field code or the equation editor, or you can add a paragraph border to the top of the text.įirst, I’ll show you how to use a field code to apply overlining to text. There are various reasons for overlining text. Underlining is a common task in Word, and easily done, but what if you need to overline (also called overscore or overbar), Overlining is common in scientific fields.
