Range(A4) を Cell(1,4) と書くと、Range(A2:AB256) を Cell 形式にどのように書き込む必要がありますか?
ありがとう、アラップ
Directly, you can't, but if your goal is to access a range of cells by their indexes, you can use the Range-method with two cells as arguments:
Set myRange = mySheet.Range(mySheet.Cells(1, 2), mySheet.Cells(28, 256))
Or you can parse the column letter from the cell address:
Dim columnNumber As Integer
Dim columnLetter As String
columnNumber = 5
columnLetter = Split(Cells(1, columnNumber).Address, "$")(1)