快速提问:
我设置了三个范围sourceRng1
和sourceRng2
targetRng
. 大小都一样。
我想实现这一点:
For each cell in targetRng
cell.value = sourceRng1 / sourceRng2
next cell
其中 和 的索引在每次迭代sourceRng1
中sourceRng2
跳跃一步。
所以如果and的第一个和第二个值是sourceRng1
andsourceRng2
4 7
1 3
然后cell.value = 4/1
在第一次迭代中。cell.value = 7/3
在第二。
关于如何执行此操作的任何建议?