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

Automation for Copy and Paste Special

imran khan

New Member
Hi,

I tried alot but could not do the following:

i have data in the range M11:O1844. I want that by a click of a button, all the data in the range M11:O1844 is copied and paste special in the range G11:I1844.

How can this be acieive by VBA. Please define steps also to run as whenever i tried, it give me an error.

Appreciating your support. Thanks
 
This should go OK too.

Code:
Sub PasteVals()
    [G11:I1844] = [M11:O1844].Value
End Sub

Take care

Smallman
 
Back
Top