Hi iwiman
welcome to the forum
you could add a iif statment
Cells(emptyRow, 1).Value = LastNameTextBox.Value & IIf(RestrictionsTextBox.Value <> "",  " X", "")