openpyxl icon indicating copy to clipboard operation
openpyxl copied to clipboard

How can I create multiple sheet with different name with for loop?

Open sim2511 opened this issue 2 years ago • 0 comments

I would to create new sheet for each i

ws_sheet1 ws_sheet2 ws_sheet3 etc

for i in range(max_row_a+1): ws_sheet_+str(i)=wb_copie.create_sheet(sheet_a.cell(row=1,column=i).value)

sim2511 avatar Dec 17 '22 08:12 sim2511