Hi guys
Im sure this is pretty easy but if i have the string:
"Dining Tables, Dining Room Seating,"
How do i turn it into the following:
"Dining Tables, Dining Room Seating and more."
thanks
Hi guys
Im sure this is pretty easy but if i have the string:
"Dining Tables, Dining Room Seating,"
How do i turn it into the following:
"Dining Tables, Dining Room Seating and more."
thanks
Let say Dining Tables, Dining Room Seating is in A1.
In B1, =A1&" "&"and more."
If you must have a macro...
![]()
Sub ReplaceString() Range("A1").Value = Range("A1").Value & " and more." End Sub
Last edited by jeffreybrown; 06-07-2012 at 06:37 PM.
HTH
Regards, Jeff
You need to remove the final comma before appending the text.
=LEFT(TRIM(A1),LEN(TRIM(A1))-1)&" and more"
![]()
range("B2")=Left(trim(range("a1")),len(trim(range("a1")))-1) & " and more"
thanks, works great!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks