Hi mdshotgun
working with your code try....
Option Explicit
Sub makeselection()
Dim rng As Range
Dim cell, Temp As String
Application.ScreenUpdating = False
Set rng = Range("B3:B27")
For Each cell In rng
If cell.Value = "yes" Then
Temp = cell.Offset(0, -1).Value
cell.Offset(0, -1).Value = Replace(cell.Offset(0, -1).Value, " ", ".") & "@companyname.com"
cell.EntireRow.Copy Destination:=Sheets("Sheet2").Range("A" & Rows.Count).End(xlUp).Offset(1, 0)
cell.Offset(0, 1).Font.ColorIndex = 2
cell.Offset(0, -1).Value = Temp
End If
Next
With Sheets("sheet2")
.Columns("B").Hidden = True
.Range("a1:aa200").Interior.ColorIndex = xlNone
End With
Application.ScreenUpdating = True
End Sub
Bookmarks