Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
macros for other applications
Hi,
I can't make the opposite of "text to column" in Excell ( I mean merging cells but placing a coma between each value) so I use word to replace paragraph mark by coma. But how do I writte in my macros the macros that works in Word and recall the transfomed data in excell ? Cheers, |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
macros for other applications
Concatenation is the action you describe
sStr = Range("A1").Value & ", " & Range("B1").Value _ & ", " & Range("C1").Value is Possibly what you want. Regards, Tom Ogilvy "Douvid" wrote in message ... Hi, I can't make the opposite of "text to column" in Excell ( I mean merging cells but placing a coma between each value) so I use word to replace paragraph mark by coma. But how do I writte in my macros the macros that works in Word and recall the transfomed data in excell ? Cheers, |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
macros for other applications
yes it is something like that but how do you do a loop on
this ? if possible , because sometimes I have 1000 cells to merge. -----Original Message----- Concatenation is the action you describe sStr = Range("A1").Value & ", " & Range("B1").Value _ & ", " & Range("C1").Value is Possibly what you want. Regards, Tom Ogilvy "Douvid" wrote in message ... Hi, I can't make the opposite of "text to column" in Excell ( I mean merging cells but placing a coma between each value) so I use word to replace paragraph mark by coma. But how do I writte in my macros the macros that works in Word and recall the transfomed data in excell ? Cheers, . |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
macros for other applications
for Rows
sStr = "" for i = 1 to 1000 sStr = sStr & Cells(i,"A").Value & ", " Next for columns sStr = "" for i = 1 to 256 sStr = sStr & Cells(3,i).Value & ", " Next Regards, Tom Ogilvy "Douvid" wrote in message ... yes it is something like that but how do you do a loop on this ? if possible , because sometimes I have 1000 cells to merge. -----Original Message----- Concatenation is the action you describe sStr = Range("A1").Value & ", " & Range("B1").Value _ & ", " & Range("C1").Value is Possibly what you want. Regards, Tom Ogilvy "Douvid" wrote in message ... Hi, I can't make the opposite of "text to column" in Excell ( I mean merging cells but placing a coma between each value) so I use word to replace paragraph mark by coma. But how do I writte in my macros the macros that works in Word and recall the transfomed data in excell ? Cheers, . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Applications in Excel | New Users to Excel | |||
Installation of Excel and other MS Applications | Excel Discussion (Misc queries) | |||
Office applications will not run | Setting up and Configuration of Excel | |||
"Ignore other applications" | Excel Discussion (Misc queries) |