Microsoft Office Word: Difference between revisions

From miki
Jump to navigation Jump to search
Line 33: Line 33:
* The '''= (formula)''' field
* The '''= (formula)''' field
** ''Invalid character setting'' error → see [[#Troubleshoot|section below]]
** ''Invalid character setting'' error → see [[#Troubleshoot|section below]]
* The '''Ref''' field
** Example: { REF myBookmark \h } (\h indicates that cross-reference is also an hyper-link)


=== Field switches ===
=== Field switches ===

Revision as of 16:10, 7 October 2009

Keyboard Shortcuts

Shortcut Description Custom
Alt-F9 Toggle view/hide field code
Ctrl-F9 Create a new field

Tips

  • Creating cross-references in Word (See [1])

Fields and Switches

Fields

  • The Seq field ([2])
Field code Result
{ SEQ MySeq \# 000 \* MERGEFORMAT } 000
001
002
  • The = (formula) field
  • The Ref field
    • Example: { REF myBookmark \h } (\h indicates that cross-reference is also an hyper-link)

Field switches

  • The format (\*) field switch ([3])
  • The Numeric Picture (\#) field switch ([4])
    • Examples: { = 4 + 5 \# 00.00 } displays "09.00", { = 9 + 6 \# $### } displays "$ 15", { = 111053 + 111439 \# x## } displays "492", { = 1/8 \# 0.00x } displays "0.125".

Troubleshoot

  • Invalid character setting error when using the = (formula) field
This is due to incorrect regional setting, when both list separator and decimal separator are the same (see [5] and [6])