I have the following code, but after each condition for the "if" statement, the code is pretty much the same, except the first line. I was wondering if there was a way to reduce the code so that the code only runs through it only once.
For Each cel In AddOrRemoveRng
On Error Resume Next
If cel = "Add" And Not IsEmpty(cel.Offset(0, 1)) And Not cel.Offset(0, 3) = "0" Then
AssetList.Cells(Asset_Row, Column_A).Value = "Add"
AssetList.Cells(Asset_Row, Column_B).Value = cel.Offset(0, 3)
AssetList.Cells(Asset_Row, Column_C).Value = cel.Offset(0, 4)
AssetList.Cells(Asset_Row, Column_C).Value = cel.Offset(0, 5)
Asset_Row = Asset_Row + 1
ElseIf cel = "Remove" And Not cel.Offset(0, 3) = "0" Then
TelecomAssetList.Cells(Asset_Row, Column_A).Value = "Retire"
AssetList.Cells(Asset_Row, Column_B).Value = cel.Offset(0, 3)
AssetList.Cells(Asset_Row, Column_C).Value = cel.Offset(0, 4)
AssetList.Cells(Asset_Row, Column_C).Value = cel.Offset(0, 5)
Asset_Row = Asset_Row + 1
ElseIf cel = "Update" Then
TelecomAssetList.Cells(Asset_Row, Column_A).Value = "Update"
AssetList.Cells(Asset_Row, Column_B).Value = cel.Offset(0, 3)
AssetList.Cells(Asset_Row, Column_C).Value = cel.Offset(0, 4)
AssetList.Cells(Asset_Row, Column_C).Value = cel.Offset(0, 5)
Asset_Row = Asset_Row + 1
End If
Next cel