Thank You. I actually meant from the vertical?! So if a point is in the top right corner of the screen the angle would be 45 degrees, halfway down the right it would be 90 degrees, bottom left 225 degrees etc.
To get angles from vertical just swap x and y coordinates from above. You will need to check for DIV/0 errors when X2 = X1
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first
'If we're supposed to work in Hex, why have we only got A fingers?'
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.