The code below is suppose to separate each pair of long and lat. It works fine apart from the last pair.
Plots textbox = 501918N 0053042W - 502400N 0053900W - 503200N 0053400W - 503930N 0052400W - 504300N 0051230W - 503830N 0050430W - 501918N 0053042W
VB Code:
Plots = Plots & " - " NoPts = NoPts - 1 For i = 0 To NoPts PosN = InStr(1, Plots, "-") Points(i) = Left$(Plots, PosN - 2) Length = Len(Plots) Plots = Right$(Plots, Length - (PosN + 1)) Next i
