I have a command button that imports data from an Excel spreadsheet and puts the data into a new table. If the user changed the spreadsheet (e.g., deleted some columns), Access prompts them for the missing information.
If the user clicks on the Cancel button, I display an appropriate message by trapping the 2001 error. I want to display the same message and prevent further parameter prompts if the user clicks on the OK button. I can't figure out how to do that.
If the user clicks on the Cancel button, I display an appropriate message by trapping the 2001 error. I want to display the same message and prevent further parameter prompts if the user clicks on the OK button. I can't figure out how to do that.