I'm am trying to find out how I can show a messagebox if the first if statement is not met. If you delete the else statement it does what it should do, put the values in the correct cells. But if the else statement is added it will show the messagebox immediately.
Sub Column_Names2()
Dim c
For Each c In Range("A1:Z1").Cells
If c = "" Then
c.Value = "Accounting Number"
c.Offset(0, 1).Value = "Receipt/Invoice"
c.Offset(0, 2).Value = "Proccesed"
Else: MsgBox "Could not find empty cell"
Exit For
End If
Next
End Sub