This is so pissing me off!
Can anyone figure out what the heck is going on here?
As you can see in the attached screen capture, the error is being raised on the highlighted line in the code. But what is causing the error?! If you look at the Immediate Window, you can see that I can take the contents of the variable, "Righto_PREP1" and raise it to the "LoftExp" power with no problem. But when I try to simply let it do the operation as shown in the Code Window, it fails. All of my variables are double precision as you can see, and there are no reserved words being used as variable names.
I'm stumped!
Many thanks for any replies.




Reply With Quote