You can do it in Word or WordPad by typing 0233 and then pressing Alt-x. Of course you'll need a font that supports it. The rest of the upper and lowercase vowels with macron:
It's trickier to enter it in other apps without changing your keyboard layout to one that supports macrons directly. That will probably make your regular typing a lot harder though.