Most of the material remains relevant in Word 2007/2010.
(If it works in other versions, all the better; I originally had this problem with Word 2007, and nothing seems to have changed since then.) This includes cross-references, page numbers, tables of contents, indexes, headers, etc.
' Website : Purpose : Update/Fill-in a Word document's form fields ' Copyright : The following may be altered and reused as you wish so long as the ' copyright notice is left unchanged (including Author, Website and ' Copyright). Number = 5174 Then Msg Box "The specified file '" & s Doc Name & "' could not be found.", _ vb Critical Else Msg Box "The following error has occured." & vb Cr Lf & vb Cr Lf & _ "Error Number: " & Err.
It may not be sold/resold or reposted on other sites (links ' back to this site are allowed). Number & vb Cr Lf & _ "Error Source: Update Doc" & vb Cr Lf & _ "Error Description: " & Err.
Thank you for your reply, as it happens I did find that page via google prior to asking and couldn't get it to work, I have tried again still without sucess so I guess I must be doing something wrong.
I attach a test document with the fields in but not working, any help would be much appreciated. Did you tab out of the text field after inputting something?
Can you share how, or know of a page online that shows how? At this point we decided not to implement this in our documents.
It makes them very difficult to edit at a later date.
Next Story Range '' FIXME: for footnotes, endnotes and comments, I get a pop-up '' "Word cannot undo this action.
Update Wend Next sr End Sub '' Update all the fields, indexes, etc. '' This is a parameterless subroutine so that it can be used interactively.
If you would like to donate, please use the appropriate donate button to access Pay Pal. he purpose of this Microsoft Word Tips & Microsoft Word Help page is to introduce and review some of the versatile capability available in Word to insert specialized data in your documents by using fields.
Have you ever needed to fill-in or update the form fields of a Word Document from say Access, Excel, … In it I demonstrate how to populate a textbox, as well as show you how you can check/uncheck a checkbox.