(Jan-14-2024, 07:41 AM)1418 Wrote: sgrey, I tried both these without success. I'm using Visual Studio, are you suggesting I need to download additional libraries? Or should I use Pycharm?
Error:inspdata.set_column_width(columns=['EForm Id'],width=100, ['Contractor'],width=100) inspdata.set_column_width(columns=['EForm Id', 'Contractor'],width=100)
it doesn't matter what IDE you use. Pay attention to all of the code and the description they posted. It's not just one line call, you have to use more complex code and another library in addition to it.
Look at the top answer. You probably can use it as-is if you just add it at the end of your code and install xlsxwriter.