ironhide1975
Programmer
Is there a way easy way to create a Sub that you can pass a variable and the number to trim the variable and add the typical '...' on the end?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Function trimvariable(inputvar)
trimvariable = left(inputvar, 75) & "..."
End Function
Function TrimVariable(inputString,targetLength)
If Len(inputString) > targetLength Then
TrimVariable = Left(inputString,targetLength - 3) & "..."
Else
TrimVariable = inputString
End If
End Function