> I would like to provide the code I used:
>
[quoted text clipped - 9 lines]
>
> Yours Sincerely,
Craig,
When I execute the code, the debugger stops, highlighting
"Charlestown". The error was: "Compile Error: Variable Not Defined."
The variable Charlestown must be declared, usually via Dim, before
being used.
If Charlestown is a string, it must be enclosed in "".
Sub Suburb()
Dim Suburb As String
Suburb = "Charlestown"
MsgBox Suburb
End Sub
The above code will execute, and a MsgBox appears with the word
"Charlestown" in it.
Sincerely,
Chris O.