• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Copy Rows down with value from another Cell

Hi Lesley ,

Can you specify the number of columns that should be copied ? What is the start cell , is it A3 ?

Suppose C2 on Sheet2 contains the number 10 ; what is supposed to be done ?

Narayan
 
Hi:

Please find the attached, hope this is what you are looking for the macro button is in sheet 2.

Thanks
 

Attachments

  • Book1.xlsm
    17.2 KB · Views: 11
Hi Lesley

This is a non looping alternative.

Code:
Sub CopyIt()
    Sheet1.[a3].Copy
    Sheet2.Range("C3").Resize(Sheet2.[c2], 1).PasteSpecial xlPasteValues
End Sub

Take care

Smallman
 
Back
Top