Hello, your explanation of what you are trying to do is not giving enough detail. What data are you trying to export into excel? Queue Data? Queue MI?
It might be worth having a discussion about your reporting requirments with whoever is mentoring/enabling your capability.