Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
In column A, i need to build a new char string where the
first three char come from column B, then a dash is added, and the first 16 char from column C. I couldn't get the recorder to do this for me. Example Column A | Column B | Column C App-Mushrooms, Stuffed | Appetizer | Mushrooms, Stuffed Portabello |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
In A1:
=left(B1,3) & "-" & left(c1,16) or in VBA sStr = left(Range("B1"),3) & "-" & left(Range("c1"),16) Range("A1").Value = sStr -- Regards, Tom Ogilvy "Kat" wrote in message ... In column A, i need to build a new char string where the first three char come from column B, then a dash is added, and the first 16 char from column C. I couldn't get the recorder to do this for me. Example Column A | Column B | Column C App-Mushrooms, Stuffed | Appetizer | Mushrooms, Stuffed Portabello |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thank you Tom! We used the formula & it worked.
-----Original Message----- In A1: =left(B1,3) & "-" & left(c1,16) or in VBA sStr = left(Range("B1"),3) & "-" & left(Range("c1"),16) Range("A1").Value = sStr -- Regards, Tom Ogilvy "Kat" wrote in message ... In column A, i need to build a new char string where the first three char come from column B, then a dash is added, and the first 16 char from column C. I couldn't get the recorder to do this for me. Example Column A | Column B | Column C App-Mushrooms, Stuffed | Appetizer | Mushrooms, Stuffed Portabello . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
FIND 1 char in cell of any 3 char =True | Excel Discussion (Misc queries) | |||
extract center char | Excel Discussion (Misc queries) | |||
8500 cells with phone number(7 char.), wishing to add area code (10 char.) | Excel Discussion (Misc queries) | |||
Expand curly bracket symbol over multicells | Excel Discussion (Misc queries) | |||
How to build build a macro that automatically imports | Excel Programming |