shawkins13
New Member
- Joined
- Jul 30, 2010
- Messages
- 5
I have a named range in my workbook that is a constant value (Cratio=2.3755799). I want to refer to this value in my macro in a formula and then copy the answer of that formula back into the workbook. There are two ways that I have referred to this value and both are causing a 1004 error. They are:
Range("Cratio")
and
Activeworkbook.Names ("Cratio").value
I am trying to use this number value in a macro formula, but I see that the value is being returned as "=2.3755799"
Can someone tell me how to refer to this named range correctly so that it is returning a number I can use in my macro formula?
Thanks!
Range("Cratio")
and
Activeworkbook.Names ("Cratio").value
I am trying to use this number value in a macro formula, but I see that the value is being returned as "=2.3755799"
Can someone tell me how to refer to this named range correctly so that it is returning a number I can use in my macro formula?
Thanks!