Dim myRange as Range
myRange = Range("A1:C3")
Dim currentCell as Range
currentCell = Range.firstCell ' そんなメソッドは無い
myRangeオブジェクトからセルA1のRangeオブジェクトを取得するにはどうすれば良いのでしょうか?
Range の設定は Set が必要ですが、
Sub SelectLeftTopCell() Dim myRange As Range Set myRange = Range("A1:C3") Dim currentCell As Range Set currentCell = myRange.Resize(1, 1) currentCell.Select End Sub
という感じでどうでしょうか。
ありがとうございます!速い!!(^^)
> Range の設定は Set が必要ですが
ご親切ありがとうございます!!