I suggest you ask this question in a forum dealing with Microsoft Excel programming or explain how this is in any way a Qt question.