I am creating an app that allows the user to select an object by press the select object button and then I want the objects length to populate the txtLineLength textbox. I can't seem to figure this out...Please brains help! Private Sub UserForm_Initialize() txtLineLength.Value = "" txtStreetName.Value = "" txtStreetWidth.Value = "" txtNeighborhood.Value = "" End Sub Private Sub cmdSelect_Click() Me.Hide Unload frmLineLength Dim returnobj As Object Dim entbasepnt As Variant Dim entLength As String frmLineLength.txtLineLength.Text = "" ThisDrawing.Utility.GetEntity returnobj, entbasepnt, "Select Line: " entLength = returnobj.Length entLength = ThisDrawing.Utility.RealToString(entLength, acArchitectural, 4) 'MsgBox (entLength) frmLineLength.Show frmLineLength.txtLineLength.SetFocus frmLineLength.txtLineLength.Text = entLength End Sub Private Sub cmdUpdate_Click() 'This Section Is Complete Dim Linelength As String Dim StreetName As String Dim StreetWidth As String Dim Neighborhood As String Linelength = Trim(txtLineLength.Value) StreetName = Trim(txtStreetName.Value) StreetWidth = Trim(txtStreetWidth.Value) Neighborhood = Trim(txtNeighborhood.Value) ThisDrawing.SendCommand ("setvar" & vbCr & "attdia" & vbCr & 0 & vbCr) ThisDrawing.SendCommand ("-insert" & vbCr & "tag_street" & vbCr & "1" & vbCr & "1" & vbCr & "1" & vbCr & "0" & vbCr _ & Linelength & vbCr & StreetName & vbCr & StreetWidth & vbCr & Neighborhood & vbCr) ThisDrawing.SendCommand ("setvar" & vbCr & "attdia" & vbCr & 1 & vbCr) Unload Me End Sub 'Unloads Dialog and Exits Quietly Private Sub cmdCancel_Click() txtLineLength.Value = "" txtStreetName.Value = "" txtStreetWidth.Value = "" txtNeighborhood.Value = "" Unload Me End Sub