Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Syntax for Pasting to a Cell in a Selection 1

Status
Not open for further replies.
Jun 5, 2002
417
AU
Hi,

I need a little help with the following code!

For Each c In Range([Input!O7]).Cells 'Normally a range of 4 cells
If Not IsNumeric(c.Value) Then
If c.Value = "Wash Out" Then
Range("Washout").Copy
Range(.c).Paste "How do I define this paste to the particular Cell
End If

I am trying to paste the range I have copied to the cell in the selection, but seem unable to get the syntax correct.

Any suggestions appreciated.

Peter Moran
 
You could use:
c.PasteSpecial xlPasteAll

Cheers
Paul Edstein
[MS MVP - Word]
 
Why not simply this ?
Range("Washout").Copy c

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top