python

murata excel 1行目にヘッダー見出しをつける関数

# osh シートオブジェクト名と仮定

def print_header():
    osh["A1"].value = "担当者"
    osh["B1"].value = "数量"
    osh["C1"].value = "金額"
    osh["D1"].value = "得意先"
    osh["E1"].value = "数量"
    osh["F1"].value = "金額"
Was this helpful?