6. Create and Manipulate Names in VBA

Excel Names

You have probably named ranges in a worksheet by highlighting a range and typing a name in the Name box to the left of the Formula bar. You also might have created more complicated names containing formulas. For example, perhaps you created a name with a formula that finds the last row in a column. The ability to set a name to a range makes it much easier to write formulas and set tables.

The ability to create and manipulate names is also available in VBA and provides the same benefits as naming ranges in a worksheet. For ...

Get Excel® 2013 VBA and Macros, Video Enhanced Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.