Fixes and enhancements to the Excel type provider

I'm pretty new to git. I somehow managed to get two commits in this pull request. My changes are really only in the first commit. If someone has ideas of how to resolve this, I would be glad for any hints.