Thread: cut and paste
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default cut and paste

Sub GetValue()
Range("A1").value = _
application.VLookUP(Range("A2").value, _
Range("M1:P5"),2,0)
End Sub

--
Regards,
Tom Ogilvy


"hey" wrote in message
...
Last week you gave me the following which works but still isnt a cut and

paste. Is it possible to do?

Range("A1").value =
application.VLookUP(Range("A2").value,Range("M1:P5 "),2,0)

Thanks