I am trying to get a macro that will recognize the text in a cell as a reference to a range name and then perform actions to this range.
For example:
• In A1 I have the text ‘Range1’
• ‘Range1’ is a named range referring to cells A2:A5
• I am currently using the code:
Range(“Range1”).Select
Selection.Copy
• This only selects A1 rather than actually selecting A2:A5
Does anyone know how I can get this to work?
Thanks
For example:
• In A1 I have the text ‘Range1’
• ‘Range1’ is a named range referring to cells A2:A5
• I am currently using the code:
Range(“Range1”).Select
Selection.Copy
• This only selects A1 rather than actually selecting A2:A5
Does anyone know how I can get this to work?
Thanks