Improve company productivity with a Business Account.Sign Up
Dim WS As Worksheet
Dim MaxRow As Long, I As Long
Set WS = ActiveSheet
MaxRow = WS.Range("A" & WS.Rows.Count).End(xlUp).Row
For I = 1 To MaxRow
If WS.Cells(1, "B") <> "" Then WS.Cells(1, "B") = WS.Cells(1, "B") & ","
WS.Cells(1, "B") = WS.Cells(1, "B") & WS.Cells(I, "A")
Open in new window
Function fJoinEmails(rng As Range) As String
fJoinEmails = Join(WorksheetFunction.Index(WorksheetFunction.Transpose(rng), 1, 0), ", ")
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
Please enter a first name
Please enter a last name
Must be at least 4 characters long.
Join and Comment
From novice to tech pro — start learning today.
Premium members can enroll in this course at no extra cost.