I’m using Excel automation to read an Excel workbook into a database. However, I noticed that if the Excel file is opened (in Excel), the import fails but does not provide an error message. Nothing gets imported.
Is there a way to tell if the Excel file is opened in Excel?
We are developing this for end users so we have to try and protect against this happening because they’ll never figure out what went wrong.
Eugene Dakin has a book on how to program Excel with Xojo/RealStudio. I recommend it, he took the time to document all the undocumented little tidbits like this…