While writing and saving excel file from xp works but same code gives error in vista saying
The file name or path does not exist
The file is being used by another program
The workbook you are trying to save has the same name as a currently open workbook