+ Reply to Thread
Results 1 to 5 of 5

Copy Paste between sheets

  1. #1
    Registered User
    Join Date
    10-19-2008
    Location
    UK
    Posts
    63

    Copy Paste between sheets

    Hi,

    I want to copy a range from Sheet2 to Sheet1.

    This works fine with code below:

    '
    Please Login or Register  to view this content.
    Problem happens when I put this code into a Command Button and I get following message:

    Run-time error
    Select method of Range class failed

    Any idea why?
    How can I do copy paste function using Command Button?

    Thanks,
    Nix
    Last edited by nicolaforni; 07-20-2011 at 03:58 AM.

  2. #2
    Forum Expert davegugg's Avatar
    Join Date
    12-18-2008
    Location
    WI, US
    MS-Off Ver
    2010
    Posts
    1,884

    Re: Copy Paste between sheets

    Hi nicolaforni

    Please take a few minutes to read our Forum Rules, then edit your post to include code tags. Once complete, we will help you resolve your issue.

    Thanks
    Is your code running too slowly?
    Does your workbook or database have a bunch of duplicate pieces of data?
    Have a look at this article to learn the best ways to set up your projects.
    It will save both time and effort in the long run!


    Dave

  3. #3
    Registered User
    Join Date
    10-19-2008
    Location
    UK
    Posts
    63

    Re: Copy Paste between sheets

    Done!

    Please see edited thread.

    Nicola

  4. #4
    Forum Expert davegugg's Avatar
    Join Date
    12-18-2008
    Location
    WI, US
    MS-Off Ver
    2010
    Posts
    1,884

    Re: Copy Paste between sheets

    Thanks for doing that.

    Does this work for you?

    Please Login or Register  to view this content.
    I'm not sure what BLPLinkReset does, so it may need to be reworked a bit, but test it first and let me know.

  5. #5
    Registered User
    Join Date
    10-19-2008
    Location
    UK
    Posts
    63

    Smile Re: Copy Paste between sheets

    It works fine thanks!


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1