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
get data from a gridview to a popup window and then update the gridview
Windows 2008 r2 Cluster Shared Volume - Stuck "Online (Backup in progress, Redirected access)"
Setting up MSDE 2000
Utility to convert database
Generate a unique* key for a particular string
Where to start with Access Reports
Registry locations... eventvwr settings and recycle bin.. Help!
Incompatible NTFS?
Exchange 2007/2010 Rollup
Unable to connect Outlook via RPC over HTTP