I don't understand what your questions have to do with my response.
Do you have a range named "Database" on your worksheet? If not, then
your code will fail.
Have you stepped through the code to see where it needs to be
customized? It probably won't work as written unless your sheet is
formatted exactly the same as how the code expects it.