Office Scripts 好寫過 VBA 好多… 尤其是 Excel 每次攞啲 rows+cols 出嚟就係一個 2-dimensional array,用 destructuring assignment 拆個 array 入去散件 variables 裏面可以一句搞掂,唔使數白欖咁逐個 index 數: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment

Reply to this note

Please Login to reply.

Discussion

No replies yet.