I have attached a database and Excel sheet. Please write a code so that when I click the button it should automatically take me to where an excel sheet is.
Wow! You actually expect somebody to do all the work for you just because you ask for it? Search the forum for there are plenty of usable code examples and samples already posted.