There two ways to do that:
- Double the quotes (""):
MsgBox "#1: ""QTP - QuickTest Professional"""Use 2 double quotation marks to include a quote character in the string.
So, the result is:
Use ANSI character code - Chr(34):
MsgBox "#2: " & Chr(34) & "QTP - QuickTest Professional" & Chr(34)
Since, the ANSI code if quotation mark = 34, we can use Chr function.
The result is:


No comments:
Post a Comment