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
How to make dropdown disappear using code
UNION IN SUBQUERY - MS ACCESS
How to enable hibernate acpi in xp 64 bit on dell optiplex 760
My Outlook keeps Crashing with this Event ID's 2000, 2002, 1000? Thanx for the help
Microsoft SQL 2005
For i=0 to UBOUND(RegValueName) Type Mismatch: 'UBOUND'
Preventing Outlook Calendar Conflicts
Can't run eseutil on Exchange 2k3 server
Bootmgr is missing, trying to import image using Windows PE/Imagex
Access Report to PDF without Save As Dialog