獲取B5的行號和列號,並寫入數據。
s = "B5 "
r =範圍。排
c =範圍。圓柱
單元格(r,c)。值= 5
選擇A1:B5單元格區域。
範圍(單元格(1,1),單元格(r,c))。挑選
選擇A2:B5單元格區域。
Range(Range("A2 "),Cells(r,c))。挑選
選擇A3:B5單元格區域。
範圍([A3],單元格(r,c))。挑選
選擇B5(含B5)右下方2行3列的單元格區域,即B5:D6。
【B5】。調整大小(2,3)。挑選
'……
末端接頭