hi buddy.. yours code works good.. U r awesome.. But i need to know one more thing.. pls help.. how to display contents of different sheets in excel file.. for example my excel file contains sheet1,sheet2,s heet3.. i need to display contents of any sheet i want by selecting the desired sheet.