Below are extracts from code now giving this compile error:
Type GPSLocation(Latitude As Double, _
Longitude As Double, _
Altitude As Double, _
Distance As Double, _
DistTot As Double, _
Time As Long, _
Speed As Float, _
Bearing As Float, _
Marker As Boolean)
Dim loc As GPSLocation
loc.Bearing = 0
loc.Marker = True
At first, the error was given on the loc.Marker=True statement. Now it's happening on the loc.Bearing statement. I have attached the project zip file.