VB excel help needed

  • Thread starter Thread starter Robert Bloom
  • Start date Start date
Perhaps the description of what actually needs to be done could be a
bit better but from what you've posted - something like this could be
a start:

Sub PutOneCellValueIntoAnother()
Dim rngTarget as Range
'Here it's assumed that your d(n) is Range("A1") and your r(n) is
Range("A2").

Set rngTarget = Range("A1")

if rngTarget.value="" then rngTarget.value=Range("A2").value

End Sub

But as above - you'd need to describe better what you actually need to
get more meaningfull advices here.
 
Back
Top