This is Corinne. Upload questions about using openpyxl.

Asked 2 years ago, Updated 2 years ago, 79 views

I'm working on the code to facilitate the waste of time working on the estimate

If there are 4 types of model name, I want to make a cord with 4 cifred sheets.

I can't find a way no matter how hard I try to find it by myself.

How can I do that?

openpyxl pycharm

2022-09-20 15:14

1 Answers

Step 1.
    Read 'Equote'...'=> 
    if model type > 3
        then => create 4 sheet.
        else => create 1 sheet.

ws1 = wb.create_sheet("Mysheet", 0)

ws2 = wb.create_sheet("Mysheet", 1)

ws3 = wb.create_sheet("Mysheet", 2)

ws4 = wb.create_sheet("Mysheet", 3)

https://openpyxl.readthedocs.io/en/stable/tutorial.html

What's input? If you write down what output you want in detail, I think I can write a more kind answer.


2022-09-20 15:14

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.