The result is then stuffed back into the result text for the field.
What you can do is insert the Zotero citation, then place the cursor in the parentheses and click the Insert Cross Reference button to add the cross reference (also type the if you like). The position of the space is determined, and it is replaced with a non-breaking space. In MS Word 2016 how do I put the figure number field. The text is assigned to the sTemp variable, which is then converted to lowercase. This macro is essentially the same as the previous one, except that it works strictly with the result text for the field.
#Microsoft word cross reference figure manual
To overcome both problems, just modify the macro so that it automates the manual process you would go through to change the macro results. Second, the macro doesn't change the space in the field results to a non-breaking space. First, if you run it multiple times, the \* lower switch is added to the REF fields multiple times. Details: However, it is easier and more reliable to let Excel write the reference for. Do not interrupt a paragraph, or worse, a sentence, to insert a figure. and when I insert 'Insert caption', it is not automatic increasing the number (e.g. Now, they are not appearance in the list of cross-reference. However, after that, I re-installed windows and MS-Word. There are a couple of drawbacks to this macro. The figure should then be inserted at the top of the next page. It is good for cross-reference to each of figures.
If these criteria are met, then the macro makes a change to the actual field code, adding the switch that results in the field being displayed in lowercase. An If statement is then used to make sure that the field is a REF field (the kind used for cross-references) and that the result of the field is two or fewer words (as in Table 1 or Figure 12). The first one steps through each story in the document, and the second goes through each field in each story. The macro includes a couple of nested For loops. 'updates the field results to display the new format 'add format switch with lowercase option to field codes The first solution will change the actual field codes used for the field:įor Each oStoryRng In ActiveDocument.StoryRanges There are a couple of macro-based solutions you can try.
#Microsoft word cross reference figure update
Obviously, you can change the cross-references manually after placing them, but whenever you update fields the original Word-chosen format will be used for them. There is no way to control this type of cross-reference formatting in Word. When he inserts a label and number such as Table 1 or Figure 12, he wants the label lowercase (table, figure) and a non-breaking space between the label and the number. Stephen asked if it is possible to control the format of cross-references inserted by Word. utmmediumSocial20Media&utmcampaignYouTubeOffice20Referral&utmcontentword.