1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13:
Public Function Tn(txt1 As String, repltxt As String) As String Dim txt2 As String If txt1 = "" Or txt1 = " " Then txt2 = repltxt ElseIf IsNull(txt1) = True Then txt2 = repltxt Else txt2 = txt1 End If Tn = txt2 End Function