Some of it is from the Macro saver, which is why I put this in the code:
//I'm going to use some of Ephialtes code from the Macro saver here.
I used a lot of it, but I had to modify the string-getting parts (something I'm not too particularly good at) I'll use what you gave me Ephi, thanks. I don't think it's that big of a deal, since the dates don't get erased, you just can't see them AFTER you search. I'll try to fix this. And to your quotes, I meant it doesn't delete the dates and make it so you can't see them ever again, it just makes you not able to see them after you use the search bar.
Also, Ephialtes, is there a function that allows me to get a selected rows Number? All I know of is getSelectedID...