Hi all, simple question hopefully...although I can't seem to find an easy answer on the Net. I have one of the simplest user-defined functions on the planet. It takes one variable as input (currency), does some simple math and the return value is also currency. The function works fine until the return value exceeds the 2-byte 32767 limit. I have the return value data type defined to be currency (As Currency) and I also tried (As Long) buut both result in an error when the value exceeds 32767. I have to be missing something very simple. BTW, I'm using Excel2007. Thanks in advance...Mike
Bookmarks