Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
嗨,例如,我必须在我的公式中写下这个
Sheet1!A1:HM232
有没有其他写法(例如只使用数字,没有任何字母)
Sheet1!Cells[1,1]:Cells[232,221]
提前致谢!
是的。在 Excel 参数中切换到 R1C1 表示法。
在 VBA 中,您可以像这样引用:
Set R = Sheets("Sheet1").Range(Cells(1, 1), Cells(232, 231))
在工作表中,您可以使用以下公式,它只要求您具有初始单元格引用(作为“A1”样式引用):
=SUM(OFFSET(A1,0,0,232,221))