teratail header banner
teratail header banner
質問するログイン新規登録

回答編集履歴

1

文字の修正をしました。

2020/07/06 05:08

投稿

hana0118
hana0118

スコア8

answer CHANGED
@@ -9,7 +9,7 @@
9
9
  セル = "b" & i
10
10
 
11
11
  If Range(セル).Font.Bold = True Then
12
- Cells(i, 7) = Cells(i, 2) ’太字のCells(i, 2)を Cells(i, 7) にコピー
12
+ Cells(i, 1) = Cells(i, 2) ’B列太字のCells(i, 2)を A列Cells(i, 1) にコピー
13
13
  End If
14
14
 
15
15
  i = i + 1