N Nathan Mar 8, 2005 #1 Is it possible to have a string variable have a value that contain quotation marks " ??
D Dave Peterson Mar 8, 2005 #2 dim myStr as string mystr = "asdf""qwer" debug.print mystr You just double up the quotes. Or if it really gets confusing: mystr = "asdf" & chr(34) & "qwer"
dim myStr as string mystr = "asdf""qwer" debug.print mystr You just double up the quotes. Or if it really gets confusing: mystr = "asdf" & chr(34) & "qwer"
B Bob Phillips Mar 8, 2005 #3 or if you want to go blind mystr = "asdf" & """" & "qwer" -- HTH RP (remove nothere from the email address if mailing direct)
or if you want to go blind mystr = "asdf" & """" & "qwer" -- HTH RP (remove nothere from the email address if mailing direct)