Hi,
I'm writing code to name ranges and the actual name varies. Im using the following expression but its not working. Below "name" is a variable. Can somebody help me with this?
ActiveWorkbook.Names.Add name:="cstr(name)", RefersTo:=Selection
Thanks for your help in advance.
Juan
I'm writing code to name ranges and the actual name varies. Im using the following expression but its not working. Below "name" is a variable. Can somebody help me with this?
ActiveWorkbook.Names.Add name:="cstr(name)", RefersTo:=Selection
Thanks for your help in advance.
Juan
Last edited: