+ Reply to Thread
Results 1 to 5 of 5

Copy Data from sheet to sheet using VBA

  1. #1
    Forum Contributor
    Join Date
    09-13-2008
    Location
    Los Angeles, CA
    MS-Off Ver
    365
    Posts
    120

    Copy Data from sheet to sheet using VBA

    Hey Everyone, I've looked at a few different posts about copying and pasting data and not sure what I'm doing wrong. I'm trying to select everything from one sheet and copy it to another sheet starting in cell B2. Please tell me where I'm going wrong:

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    11-26-2013
    Location
    Colac, Victoria, Australia
    MS-Off Ver
    Excel 2016
    Posts
    1,309

    Re: Copy Data from sheet to sheet using VBA

    Try something like this:
    Please Login or Register  to view this content.
    I hope this helps, please let me know!

    Regards,

    David


    - Please click on the *Add Reputation button at the bottom of helpful responses.

    Please mark your thread as SOLVED:
    - Click Thread Tools above your first post, select "Mark your thread as Solved".


  3. #3
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,575

    Re: Copy Data from sheet to sheet using VBA

    Paste method applies to worksheet object, so Selection should be ActiveSheet
    Please Login or Register  to view this content.
    However this one line should be enough...
    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    09-13-2008
    Location
    Los Angeles, CA
    MS-Off Ver
    365
    Posts
    120

    Re: Copy Data from sheet to sheet using VBA

    Quote Originally Posted by David A Coop View Post
    Try something like this:
    Please Login or Register  to view this content.
    I hope this helps, please let me know!

    Regards,

    David


    - Please click on the *Add Reputation button at the bottom of helpful responses.

    Please mark your thread as SOLVED:
    - Click Thread Tools above your first post, select "Mark your thread as Solved".

    When I try this, I get 1004, "Select method of Range class failed" and when I debug, it points to Range("A1:B1006").Select

  5. #5
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: Copy Data from sheet to sheet using VBA

    or
    Please Login or Register  to view this content.
    Last edited by john55; 01-05-2017 at 02:39 PM.
    Regards, John55
    If you have issues with Code I've provided, I appreciate your feedback.
    In the event Code provided resolves your issue, please mark your Thread as SOLVED.
    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

    ...enjoy -funny parrots-

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 9
    Last Post: 06-27-2016, 01:02 AM
  2. Replies: 2
    Last Post: 01-23-2016, 01:16 PM
  3. Help need to copy data from sheet 1 to sheet 3 if cell in sheet 1 = Yes
    By NoIDeer in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-18-2015, 12:44 AM
  4. [SOLVED] Copy and paste data from sheet 2 to sheet 1 based on specific criteria on sheet 1
    By VBADUD in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-05-2012, 04:18 AM
  5. Copy Sheet / Create & Name New Sheet / Insert Before a Sheet / Paste Data
    By thinkspac in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-12-2012, 02:27 PM
  6. [SOLVED] Macro to Copy Data from one Sheet A to Sheet B based on value in cell on sheet A
    By scass in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-11-2012, 07:21 PM
  7. Copy data from one sheet (Fixed Cells and sheet) to another sheet
    By RCatman23 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-21-2009, 12:56 PM

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