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
Create Table on the fly for BULK Insert
Earliest and latest times each day - mdb query
How to use Sharepoint Lookup Field with Name column (hyperlink)
If a field is blank I need it let other calculations after it work in a form. I know that its something to do with a null.
Where can i find a list of differences between IIS 7.0 and IIS 7.5
Determine whether file is saved in Access 2007 "trusted location"
How to sort complecated text in excel
Rename a user in SBS 2003 R2 active directory
ExMerge Not Working
What is datatype #9?