Matt,
Ok ...I think I git it from this post. Funny....I found an old land desktop routine that did basically the same thing as the C3D and it works fine, and all it has was the On Error GoTo Bye.
I'll make the change to add format from your last post.
Thanks for all your help!
John
' old land desktop
On Error GoTo Bye
Do
Dim varDataPnt1 As Variant
varDataPnt1 = ThisDrawing.Utility.GetPoint(Prompt:=vbCrLf & "Select Next Point to Label: ")
objAlign.StationOffset varDataPnt1(0), varDataPnt1(1), dblSta, dblOff, dblDir
strStaFormat = "#0.00"
strOffFormat = "#0.00"
strSta = Left(Format(dblSta, strStaFormat), Len(Format(dblSta, strStaFormat)) - 5) _
& "+" & Right(Format(dblSta, strStaFormat), 5)
If dblOff > 0 Then
strOff = Format(dblOff, strOffFormat) & "' RT"
Else
strOff = Right(Format(dblOff, strOffFormat), (Len(Format(dblOff, strOffFormat)) - 1)) _
& "' LT"
End If
strText = "STA: " & (strSta) & "\P" _
& "OFF: " & (strOff) & "\P" _
Set mtxtLabel = ThisDrawing.ModelSpace.AddMText(varDataPnt1, dblWidth, strText)
mtxtLabel.Height = dblHeight
mtxtLabel.Rotation = dblRot
mtxtLabel.Update
Loop
Bye:
Show