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
The World Wide Web Publishing Service (WWW Service) did not register the URL prefix <a rel="nofollow" href="https://*:443/" target="_blank">https://*:443/</a> for site 1.
How do I find MDI Active Child from toolbar on MDI Parent in VB.NET Winforms Application?
MS SQL FTS Index Population Error
vpn hangs on verifying username and password
Making a form editable in Access 2002
I am trying to add an edit, delete function to an existing gridview
Make MFC app invisible on startup (Hide main dialog)
Microsoft .NET Framework v1.0.3705 Update preventing entering standby...
Populating SharePoint Contact List from Active Directory
Printing question