View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
sylink[_3_] sylink[_3_] is offline
external usenet poster
 
Posts: 17
Default Concatenating Cells

It worked. thank you Rick

Rick Rothstein wrote:
Please I need to concatenate a series of cell. The pattern is shown
below. The first names are in col F and surnames in col A. I need both
names in Col F. Please I will appreciate suggested solutions in the
accompanying cell reference style.

Range("F" & z).Value = "John"

and

Range("A" & z).Value = "Smith"

Result:

Range("F" & z).Value = "John Smith"


Try it this way...

Range("F" & z).Value = Range("F" & z).Value & " " & Range("A" & z).Value

Rick Rothstein (MVP - Excel)