Microsoft
Software
Hardware
Network
Question : Force TransferSpreadsheet to fail on key violation
Right now when I import a spreadsheet using the TransferSpreadsheet function a pop up will appear asking me if I wish to continue in the case of key violations. I do not want to give the user the option of continuing. How can I just show an error message instead of having the prompt appear?
I have tried trapping the error, but this doesn't seem to throw an error unless you choose no on the prompt.
Answer : Force TransferSpreadsheet to fail on key violation
AFAIK you can't ... if you need finer control, you should automate the import (i.e. automate Excel) and examine the data before you import.
Random Solutions
How do you change the default date in a mysql database from US format yyyy-mm-dd to UK format dd-mm-yyyy
Improving as a Programmer
Importing XML into MS Access 2003 or higher and keep Parent Child relationships in the tables
Exchange Service Pack 2 Removal
Patient Days Across Multiple Months
Load analysis services data into an Access table
Progress meter on an append query
Reference Data In XML Document
Error opening excel files: "Windows cannot find 'C:\Users\Ryan\Desktop\xxx<wbr />xexcel file namexxx'.
Check if cursor is empty