Hi,
I am new to vba and this is my first function attempt. I can't get this function to work. As a sub, it returns the value I want but when I changed it to a function, I get #VALUE! error.
I want users to be able to type in a formula and get the correct value and fill the formula down...