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
Please increase performance of this extremely slow sql statement
Export Customised Vba Toolbars
This user account does not have permissions to access your network remotely
How to control tabs and supress run once page in IE7 via a GPO
Date Format in Windows App
copying files from one machine to another
SessionState
Fox 9 Validation routine
MS Access Query/VBA/SQL problem
Macro not available to button properties