Writing Queue data into Excel

What if there are 1000 items in the queue then it won’t work?