Did you select the text first? Split the End With as well.