i want to display an error messages in a msgbox that says "error: non-match of [the value of the variable that i was testing]."
i can do text or the variable value if they r on their own, but not as one box.
can anyone help?
i want to display an error messages in a msgbox that says "error: non-match of [the value of the variable that i was testing]."
i can do text or the variable value if they r on their own, but not as one box.
can anyone help?
Try:
Dim strVar As String
strVar = "The Value"
MsgBox "error:" & Chr(10) & "non-match of " & strVar
Hope this helps
Rowan
TheIrishThug wrote:
> i want to display an error messages in a msgbox that says "error:
> non-match of [the value of the variable that i was testing]."
>
> i can do text or the variable value if they r on their own, but not as
> one box.
>
> can anyone help?
>
>
thank u, works
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks