Hi Everyone,
I am currently using Excel 2003 version.
I am developing an application which does not gets closed if all the required fields are not filled up in a particular spreadsheet. And, if all the fields are filled up, then upon clicking upon the button 'SAVE' (which I have developed using commandbutton), the SAVEAS dialog box opens up and asks for the file to save with a name.....
However, the SAVEAS dialog box has SAVE and CANCEL options (at the extreme right hand side)....Upon clicking on SAVE, the file gets saved to a desired location, but when clicked upon CANCEL (which is clicked when intended to cancel the saving), the file still gets saved with the name 'FALSE' in My Documents folder and the application is getting closed.
Could anyone please help in avoiding this CANCEL situation wherein if CANCEL is selected, only the dialog box gets cancelled and the application remains as it is without getting closed....??
I am currently using Excel 2003 version.
I am developing an application which does not gets closed if all the required fields are not filled up in a particular spreadsheet. And, if all the fields are filled up, then upon clicking upon the button 'SAVE' (which I have developed using commandbutton), the SAVEAS dialog box opens up and asks for the file to save with a name.....
However, the SAVEAS dialog box has SAVE and CANCEL options (at the extreme right hand side)....Upon clicking on SAVE, the file gets saved to a desired location, but when clicked upon CANCEL (which is clicked when intended to cancel the saving), the file still gets saved with the name 'FALSE' in My Documents folder and the application is getting closed.
Could anyone please help in avoiding this CANCEL situation wherein if CANCEL is selected, only the dialog box gets cancelled and the application remains as it is without getting closed....??