RowAbs:行を絶対参照にするか(True → $1 / False → 1) ColAbs:列を絶対参照にするか(True → $A / False → A) ・UsedRange は「値 ...
自分の忘備録用。 上図のように、Range("A1").curretRegion.selectを行った場合、 Range("A1:D4")までを選択する。 CurrentRegionの定義は「周りが空白なセルで囲まれている範囲」 なのでA1セルが起点でも、隣のB1や下のA2は空白でないので currentRegion範囲に含まれる。
For those familiar with VBA programming, this single line of code in the article title should look familiar. It's the code used to find the last used row in a worksheet. I'm not an Excel/Macro guru.
Using this property without an object qualifier is equivalent to using ActiveSheet.Rows. When applied to a Range object that's a multiple selection, this property returns rows from only the first area ...