robdunfey,
Try this:
Private Sub Command2_Click()
Dim x1, x2, y1, y2
Const pi = 3.14159265358979
Dim dblNormUnit As Double
Dim lngRadius As Long
Dim dblCurrentAngle As Double
Dim dblRadians As Double
'These numbers define your line. Put your numbers here:
x1 = 0
y1 = 0
x2 = 2
y2 = 2
'This displays angle in degrees
MsgBox 180 * Atn((y2 - y1) / (x2 - x1)) / pi
End Sub
vladk