看板 Office 關於我們 聯絡資訊
軟體:excel 版本:2010 如果已經儲存一個二維陣列如下, arr1(1 to 10, 1 to 3) A 10 111 B 11 112 C 12 113 D 13 114 E 14 115 F 15 116 G 16 117 H 17 118 I 18 119 J 19 120 i=6 to 10 若要把 arr1(i ,3) ,也就是116~120貼到儲存格A6~A10, 請問有辦法可以不用迴圈,就直接一次貼上嗎? 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 49.214.211.210 ※ 文章網址: https://www.ptt.cc/bbs/Office/M.1549438632.A.748.html
soyoso: 可以,[a6:a10]=application.index(arr1,[row(6:10)],3) 02/06 15:56
kcyy: 感謝S大回覆,謝謝 02/06 16:29