On a side note, if you want to write formula, you might consider the usage of ADDRESS and INDIRECT which allows you to use row and column numbers, which is easier than writing A1 B2 etc. one example could be :SUM(INDIRECT(ADDRESS(1,1)&":"&ADDRESS(5,1)))A1:A5 的总和.再次感谢您的帮助,@n8.希望能帮到大家.Thanks again for the help, @n8.Hope that will help people.罗曼. 这篇关于从 R 和 VBA & 在 Excel 中插入函数/公式从 R 应用 VBA 宏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 08-03 23:05