如何使用VBA为整个列插入公式
like this?
this is for relative notation RC
Columns("N:N").FormulaR1C1 = "=SUM(RC[1],RC[2])"
Edit:
you could also use this notation (absolute) :
Columns("M:M").Formula = "=SUM(B2:B3)"
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.