View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Paul Schrum Paul Schrum is offline
external usenet poster
 
Posts: 22
Default How to do double quotes in "cell language"?

On Dec 21, 5:01*pm, joeu2004 wrote:
On Dec 21, 12:11*pm, Paul Schrum wrote:

I have cells of "built up" text strings like this:
="xy="&TEXT(O12,"0.0000")&","&TEXT(P12,"0.0000" )
which, when displayed, look like this:
xy=2524950.0000,341717.0000
The problem is, I want the cells to look like this:
CadInputQueue.SendKeyin "xy=2524950.0000,341717.0000"


In Excel, we would write:

="""xy="&TEXT(O12,"0.0000")&","&TEXT(P12,"0.0000") &""""

That is, a double-quote as character in a string is represented by a
pair of double-quotes in a formula.

Does that help you at all?


Yes. Someone in the .misc group gave me that answer as well, and it
works perfectly.

Thanks for your help.

- Paul