It looks like I was mis-understanding what you want to do.
If this is below you my apologies, after thinking about it I am not sure by your question exactly what you mean so rather than make assumptions I will start with basics.
If you have something that is in a cell you simply create a varaible and name it and do a Dim statment. Dim has to do with reserving memory just like Const reserves things in memory. The difference is that DIM means it can change while running the code where Const can only change when you alter the actual statement.
For what you ask about, you need to select the type of varaible to use - Integer, Long, Double etc. For this example I am using integer.
DIM MyFormula as integer
MyFormula = Range("A1").Value
The value of whatever number was in cell A1 will now be saved and can be used later.
To put the value of MyFormula in a cell reverse the process.
Range("A1").value = MyFormula
Whatever is on the left side of the = will get the value of what ever is on the right side.