0
0

【VBA】For Nextを使用してセルへの関数挿入

Posted at

Sub 転記データ作成()

Dim i As Integer

'関数の挿入
'=A*を挿入していく
For i = 1 To 14
j = i

Cells(i, 3).Formula = "=" & "A" & j

Next

'値貼り付けのコピー

For i = 1 To 12
j = i

Range("C" & i).Value = Range("C" & i).Value

Next

End Sub

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0