Hello All:
I am a 1 day old newbie on the forum ...so advance apologies if I do not follow the norms ....will bide by the rules soon ...
Have a spreadsheet 'sheet 2' in which I have a named variable "num_1". I was looking for VBA code to assign the value from cell (say "A3") on 'sheet 1' to the named variable "num_2" on sheet 2 while maintaining the integrity of the named variable.
I use the following code but this erases the named variable "num_1" completely from 'sheet 2'
Sheets("sheet 2").Names("num_1").Value = Sheets("sheet 1").Range("A3").value
Thank you!
Bookmarks