TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
Now Iâm confused. The built-in property field is just âAuthor.â Where does DocAuthor come from? Is it a fillin field youâve created or what? If itâs a field provided by the IT folks at your site, you shouldnât be dinking with it, I donât think.
If your userâs File > Options > General > User Name values are correct, you could try to populate the DocAuthor field with the User Name value using the Document_New event in your template. It would look like:
Private Sub Document_New()
' Set the value of the built-in document property Author to the userâs User Name
This only runs once, when a new document is created from your template.
If youâre fine with the users entering their name, but want to reuse that value within your document, you could present it to them in a document control block, where the initial value has character styling. You can then use the STYLEREF field in the remainder of your document to repeat whatever value theyâve entered.
Doc-To-Help 2014 v1 now available. SharePoint 2013 support, NetHelp enhancements, and more. Read all about it.