I know this is going to be an easy one, but I can't get it.
I would like thisto appear asDim strCleanup As String strCleanup = "There was an error retrieving your geocoordinates. Please ensure an accurate, non-range address e.g. 701 - 711 Lake Street; and retry."in my vbeditor.Dim strCleanup As String strCleanup = "There was an error retrieving your geocoordinates. Please ensure an accurate , non-range address e.g. 701 - 711 Lake Street; and retry."
I have tried the <space>_ continuation character, but everytime I do I receive an Expected: End Of Statement (Compile Error).
Baffled.
strCleanup = "There was an error retrieving your geocoordinates. Please ensure an accurate, " & VBnewline & "non-range address e.g. 701 - 711 Lake Street; and retry."
To thank someone who has helped you, click on the star icon below their name.
I hate reading
Portfolio
I need a job.I am young and incompetent
JJ,
strCleanup is a string used in a MsgBox. I am not looking to break up the string for presentation, just within my editor so it doesn't run off the screen.
In that case you might need to use the end sign. That's the only solution I can think of
Dim strcleanup As String strcleanup = "There was an error retrieving your geocoordinates. Please ensure an accurate " & _ "non-range address e.g. 701 - 711 Lake Street; and retry"
To thank someone who has helped you, click on the star icon below their name.
I hate reading
Portfolio
I need a job.I am young and incompetent
Feels clunky, but it did the trick. Thanks JJ.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks