hi,
how to write CONCATENATE function to connect 3 fields (AM, AN, AO).
how to write CONCATENATE function to connect 3 fields (AM, AN, AO).
Code:
For i = 5 To x_ws1_rows
ws1.Range("AK" & i).Value = ws1.Range("AG" & i).Value
day1 = Day(ws1.Range("AK" & i).Value)
ws1.Range("AM" & i).Value = day1
month1 = Month(ws1.Range("AK" & i).Value)
ws1.Range("AN" & i).Value = month1
year1 = Year(ws1.Range("AK" & i).Value)
ws1.Range("AO" & i).Value = year1
'ws1.Range("AJ" & i).Value = "=CONCATENATE(ws1.Range("AM" & i).Value;ws1.Range("AN" & i).Value;ws1.Range("AO" & i).Value)"
Next i