Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bob alou
 
Posts: n/a
Default how do i concatenate a string and cell formula and use a comma?

i need to use commas, semi-colons, and double quotes in a string

users.put("bdubose","1 Barbara Dubose bdubose");

i figured out that i can use """ and get a double quote but when i try ","
for the comma i get an error correction message that offers to correct the
error and drop the , and a different error for ";" w/o a correction.

thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CLR
 
Posts: n/a
Default how do i concatenate a string and cell formula and use a comma?

This string concatenates fine on my Excel 97........what version Excel are
you using?

="a"&","&"b"&";"&"c"
results to....
a,b;c

give us your actual formula that does not work..........

Vaya con Dios,
Chuck, CABGx3


"bob alou" wrote:

i need to use commas, semi-colons, and double quotes in a string

users.put("bdubose","1 Barbara Dubose bdubose");

i figured out that i can use """ and get a double quote but when i try ","
for the comma i get an error correction message that offers to correct the
error and drop the , and a different error for ";" w/o a correction.

thanks

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Sloth
 
Posts: n/a
Default how do i concatenate a string and cell formula and use a comma?

="users.put(""bdubose"",""1 Barbara Dubose bdubose"");"

will output

users.put("bdubose","1 Barbara Dubose bdubose");

if you want " to appear in a string you use it twice not three times. The ,
and ; doesn't need anything special.

"bob alou" wrote:

i need to use commas, semi-colons, and double quotes in a string

users.put("bdubose","1 Barbara Dubose bdubose");

i figured out that i can use """ and get a double quote but when i try ","
for the comma i get an error correction message that offers to correct the
error and drop the , and a different error for ";" w/o a correction.

thanks

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:51 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"