How to set a value in a cell whose address is held in another cell

E

Ellis Morgan

Say I have A1=4 and A2="D3", can I write a macro to set D3=4, using the
information in A1:A2?
 
E

Ellis Morgan

Jim Cone said:
Sub MakeItReal()
Dim strText As String
strText = Range("A2").Text
Range(strText).Value = Range("A1").Value
End Sub

Thanks Jim, just what I needed.
 
Top