• 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.

Macros to Copy Data

Hi Lesley

If possible provide some example files for better understanding of your requirement. If you are novice to VBA and not aware of the recording option.

Regards,
JD
 
Hi
See attcahed. I would like a button on cell I1 sheet 3, which copies all the data on sheet 3 to sheet one. The number of rows changes everytime. I want to paste special so just the values.
 

Attachments

Hi
See attcahed. I would like a button on cell I1 sheet 3, which copies all the data on sheet 3 to sheet one. The number of rows changes everytime. I want to paste special so just the values.
 
Hi

This should also get you over the line.

Code:
Sub CopyIt1()
  Sheets(Array("Sheet1", "Sheet3")).FillAcrossSheets Sheet1.[a1].CurrentRegion
  Sheet3.[a1].CurrentRegion.Value = Sheet3.[a1].CurrentRegion.Value
End Sub

Take care

Smallman
 
Back
Top