I’d like to calculate atan2 in VBA, but I’m not sure if that function exists (or even where to find a canonical list of built-in VBA functions). I’m not using Excel so a worksheet call isn’t possible.
I could implement atan2 myself, but I’d prefer to avoid doing that if possible.
Maybe this code would suit you: