質問編集履歴

1

for cell in row:の2行を追加

2020/09/10 02:48

投稿

HekmatyarSmile
HekmatyarSmile

スコア6

test CHANGED
File without changes
test CHANGED
@@ -42,6 +42,10 @@
42
42
 
43
43
  border = Border(top=side, bottom=side, left=side, right=side)
44
44
 
45
+      for cell in row:
46
+
47
+ ws[cell.coordinate].border = border
48
+
45
49
  for col in ws.columns:
46
50
 
47
51
  ws[row, col].border = border