Why does Sub work but not function

Printable View