Im trying to get my script to ignore all blank cells or cells with text but I cant seem to manage.
I tried this but it didnt work;
Sub Knapp3_Klikk()
If IsError(myvalue = Application.Match(tosearch, Range("K1:K100"), 0)) Then
GoTo nextloop:
Dim olddeg As Range, newval As Double
For Each olddeg In Range("K2:K99999").CurrentRegion
newval = 360 + 90 - olddeg
olddeg.Offset(0, 0) = newval - (newval \ 360) * 360
Next olddeg
End Sub
Any idea?
Thanks
Bookmarks