What's the RIGHT way to reference named cells in Excel 2013 VBA? (I know I'm messing this up)

六眼飞鱼酱① 提交于 2019-11-29 03:11:17

You replace the address with the named range's name:

Range("Classes") = "Value"

You can use the square bracket shorthand for referencing ranges:

[Classes] = "Value"

So you can save on Range and "", and it also looks better (square brackets look a bit like a cell). You can also use [C10] = "Value"

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!