Part of the programme that i've written is to generate an excel report and save it as an excel file, the name of which is specified by the user. It works fine when it is not compiled. However, after compiling into an executable file, it refused to work. After the user has specified the file name, nothing was saved. Could anybody tell me the possible reasons for that?