Users, in an attempt to control how those two lines are split, will hit ‘Return/Enter.’ In the cell that the StyleRef is pulling information from, the entered info often gets pushed to a second line within the cell. There is one issue that I cannot find the answer to: Hi Rhonda! I have set up a few templates for my office that use this technique. Don’t worry about formatting - the header/footer styles will control that. For example, DocAuthor, DocDate, DocTitle, DocRevNum. Give these styles names that are unique and are unlikely to be used anywhere else in the document (this is critical). Create new styles for the text elements you want to capture.Note: The StyleRef field will NOT ‘see’ any styles used in text boxes (see the comment from November 2017 below). Before attempting this, you should know how to create a new style in your version of Word. This solution works in Word 2003, Word 2007 and Word 2010 at least.
to do this, here’s a really quick solution using styles and the StyleRef field. While you can set up all sorts of macros, cross-references, document property fields etc. You may also be required to insert some of these details into the header and/or footer of the Word document. Many corporate documents require you to have a table near the beginning of the document with details such as the author, the date created, a revision number etc.