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
Exchange 2007 - Test-SystemHealth (Upgrading servicepack 2)
VBS Script to remove/set folder inheritance
SQL error with web site
How do I set the marquee text of the Logon Prompt screen saver for Default User?
WSUS sync problem
How to change data arrangement from Raw arrangement into column arrangement
asp.net Why does'nt these required fields work. Only the Phone field works?
Access 2007 Linked to Sharepoint with Drop-downs - type mismatch
Remove first 5 characters from SQL
Combo Box List index