of course you can do that using the Alt codes or from the Insert > Symbols in Word, but since this character is a standard key on your keyboard you can just use that key. Here is where it is:
On normal US keyboards this key is the shift of the back slash. So if you press the Shift key and hit the backslash "\" key you will get the | character.
Hope this helps.
You're most welcome. Thanks.