enirwin
Mechanical
- Feb 14, 2002
- 46
I'm trying to create a custom function in Excel using a VBA module. My problem is that I can't get Pi to work. If I enter 3.14 my function works properly. If I use Pi I get an error. It seems to be using 0 for Pi.
For now, I'm using 3.14159265358979 for Pi, but I'd rather just use Pi. Can anyone help?
Thanks.
For now, I'm using 3.14159265358979 for Pi, but I'd rather just use Pi. Can anyone help?
Thanks.