Dear Mark and Morten, I want to tell you that I currently could solve the problem by myself. As I had supposed, the error comes from the Excel sheet generation, which is called from the script. I found out, that if there are not enough sheets preseted under the excel options (in my case MS Office Prof Plus 2016 the standard setting = 1 sheet!) then the error occurres. If you set there a sufficient number of data sheets(say 4 or 5) - which actually should generated by the script - then everything works well! Maybe this hint or an appropriate adaption of the script could be useful for users with the same problem and Excel version... Best Regards Stefan