Created
September 8, 2015 12:08
-
-
Save kencoba/41ec4604b082907fadd3 to your computer and use it in GitHub Desktop.
セルに数式を入れる
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Public Sub InputFormula() | |
Dim r As Range: Set r = Range(Cells(1, 6), Cells(20, 10)) | |
Dim c As Range | |
Dim i As Integer: i = 101 | |
For Each c In r | |
c = "=データ!A" & i | |
i = i + 1 | |
Next c | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment