Help with VB code

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
bsharp
Newbie
Posts: 16
Joined: Tue Nov 29, 2005 6:39 am
Location: New York

Help with VB code

Post by bsharp » Sat Mar 01, 2008 11:51 pm

I am trying to code this in Macro

Cos(theta) = A · B / (|A| * |B|)
Sin(theta) = |A × B| / (|A| * |B|)

But what does this do in VB? :?:
V = x2 - x1, y2 - y1
Will it add the two sums together?

http://vb-helper.com/howto_find_angles.html

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts