Is Office Required To Installed On Server when using Aspose.Excel please have a look at this code that is just hanging on my server
Office isn’t required to be installed on server. I think your problem may be caused by:
1. AutoFitColumn is a time-consuming method. You should not call it on each cell.
2. When you have many cells, setting style to each of them consumes much memory and also very time-consuming. It’s better to create a single Style object to many cells with same formatting. Please try my code on your machine.