![]() |
Combine Cells without Concenate or &
Hey guys, quick question. How do you combine two horizontal cells without
using Concenate or "&"..? Example: | John | Doe | into | John Doe | Thanks!, Johnny B |
Combine Cells without Concenate or &
As far as I am aware, you can't.
"Johnny B" wrote: Hey guys, quick question. How do you combine two horizontal cells without using Concenate or "&"..? Example: | John | Doe | into | John Doe | Thanks!, Johnny B |
Combine Cells without Concenate or &
.... unless you use VBA (sorry!)
"Johnny B" wrote: Hey guys, quick question. How do you combine two horizontal cells without using Concenate or "&"..? Example: | John | Doe | into | John Doe | Thanks!, Johnny B |
Combine Cells without Concenate or &
Select the first of the pairs and run:
Sub johnnyb() For Each r In Selection r.Value = r.Value & " " & r.Offset(0, 1).Value r.Offset(0, 1).Clear Next End Sub This put the concatenation in VBA rather than in your worksheet. -- Gary''s Student gsnu200712 |
All times are GMT +1. The time now is 12:46 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com