VB code for joining column data.

  • Thread starter Thread starter Sinner
  • Start date Start date
S

Sinner

Hi,

I want to join columnL & J with result in ColumnM.
It should join till each value found in column J.

How to do it wth VB?
 
When you say "Join" I presume you want to simply concatenate them.

LastRow = (You - Know - How - From - Your - Other - Post)

For i = 1 To LastRow
Cells(i, 13) = Cells(i, 12) & Cells(i, 10)
Next i
 
When you say "Join" I presume you want to simply concatenate them.

LastRow = (You - Know - How - From - Your - Other - Post)

For i = 1 To LastRow
Cells(i, 13) = Cells(i, 12) & Cells(i, 10)
Next i







- Show quoted text -

Thanks. With little modification working ok.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top