Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次のコードでの「&」の意味と使用法は何ですか?
Set Rng = Range("a1", Range("h" & Rows.Count).End(xlUp))
&VBAの文字列連結演算子です。したがって、Rows.Count= 10の場合"h" & Rows.Count、「h10」を含む文字列が生成されます。
&
Rows.Count
"h" & Rows.Count