Hi,
I've created a spreadsheet that exports data to it from Access. If the spreadsheet is opened while trying to export, I'd like an error message to appear like "Please close [name of spreadsheet] before exporting data".
Is there a code (when I click on a button)that will export data to a spreadsheet, but only when the spreadsheet is closed. And if open, display the error.
Thanks,
Jay
I've created a spreadsheet that exports data to it from Access. If the spreadsheet is opened while trying to export, I'd like an error message to appear like "Please close [name of spreadsheet] before exporting data".
Is there a code (when I click on a button)that will export data to a spreadsheet, but only when the spreadsheet is closed. And if open, display the error.
Thanks,
Jay