Go to Sheet -> Named Ranges and Expressions -> Define. Set name to "MyVar1" and expression to 5. Or for strings, use quotes as in "foo". Then press Add.