Thread: Nested " " "
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Jay Jay is offline
external usenet poster
 
Posts: 671
Default Nested " " "

Try one more double quote on the very left of the string (there needs to be 4
double quotes):

MsgBox """" & "SCN " & scnrate & """"

--
Jay


"gtslabs" wrote:

I am trying to get a text string to look like this: "SCN 25" from the
inputbox
But I am having problems. the tripple quotes on the right side work
but it wont let me do it on the left side. What is the procedure
here?

Thanks

scnrate = InputBox("Scanning Rate (milliseconds) Range = 25 - 100",
"Set Scanning Rate", 25)
MsgBox """ & "SCN " & scnrate & """"