How do I use RefersToRange?
问题 Can anyone tell me how to use RefersToRange in vba? and what and when is the need of it. Please provide with simple example first. Thanks in advance. 回答1: In Excel, there is the concept of a named range , that is a range of cells which has a name attached to it. This is represented by the Name object. The RefersToRange method: Returns the Range object referred to by a Name object. For example, let's say I want to read the values only in the print area of the current worksheet. I need the Name