我有以下代码,来计算一系列单元格中的最大值:
Range("E3").Select ActiveCell.FormulaR1C1 = "=MAX(RC[-3]:R[50]C[-3])"
如何在代码中用变量替换50?
谢谢你的帮助!
variables vba
variables ×1
vba ×1