Hi there,
I want to find the inverse sine (sin^-1) of numbers in a column to get a column of angles next to it. I cant figure it out. This is what I have so far. The values are in the previous column.
I got the inverse sine function from this page http://www.vbforums.com/showthread.php?t=161043
When I compile it, there is no error but this #NAME? is returned in the cells
Thank you
I want to find the inverse sine (sin^-1) of numbers in a column to get a column of angles next to it. I cant figure it out. This is what I have so far. The values are in the previous column.
Code:
Range("m1").Value = "Angle of road"
Range("m2").Value = 0
Range("m3:m" & LastRow).FormulaR1C1 = "=Atn( rc[-1] / Sqr(rc[-1] * rc[-1] + 1))"
I got the inverse sine function from this page http://www.vbforums.com/showthread.php?t=161043
When I compile it, there is no error but this #NAME? is returned in the cells
Thank you