+ Reply to Thread
Results 1 to 13 of 13

Copy data from one sheet to another sheet

  1. #1
    Forum Contributor geliedee's Avatar
    Join Date
    10-14-2013
    Location
    Manila, philippines
    MS-Off Ver
    Excel 2007
    Posts
    399

    Copy data from one sheet to another sheet

    Hi All,

    can someone help me on my problem?

    I have to transfer all the data from Sheet 1 to Sheet two. I tried recording the macro but its not helpful since i am using a dummy data and i will be using the file for hundreds of customers,.

    So from Sheet 1 Column A to D should be copied to Sheet to Column A to D also.
    And from Sheet 1 Column F to U should be copied to Sheet to Column F to U also.

    No data should be deleted..

    Hope someone can help. STUCK WITH THIS FOR DAYS.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor Parth007's Avatar
    Join Date
    12-01-2014
    Location
    Banglore
    MS-Off Ver
    2010
    Posts
    879

    Re: Copy data from one sheet to another sheet

    Check this
    Attached Files Attached Files
    Regards
    Parth

    I appreciate your feedback. Hit * if u Like.
    Rules - http://www.excelforum.com/forum-rule...rum-rules.html

  3. #3
    Forum Contributor geliedee's Avatar
    Join Date
    10-14-2013
    Location
    Manila, philippines
    MS-Off Ver
    Excel 2007
    Posts
    399

    Re: Copy data from one sheet to another sheet

    Hi Parth007, is there anyway to just declare the range?? So it will just copy those poplutaed data

  4. #4
    Valued Forum Contributor Parth007's Avatar
    Join Date
    12-01-2014
    Location
    Banglore
    MS-Off Ver
    2010
    Posts
    879

    Re: Copy data from one sheet to another sheet

    Will provide you the code asap

  5. #5
    Forum Contributor geliedee's Avatar
    Join Date
    10-14-2013
    Location
    Manila, philippines
    MS-Off Ver
    Excel 2007
    Posts
    399

    Re: Copy data from one sheet to another sheet

    I mean using your code since i'm asking for help about this

  6. #6
    Valued Forum Contributor Parth007's Avatar
    Join Date
    12-01-2014
    Location
    Banglore
    MS-Off Ver
    2010
    Posts
    879

    Re: Copy data from one sheet to another sheet

    Please check the below
    Attached Files Attached Files

  7. #7
    Forum Contributor geliedee's Avatar
    Join Date
    10-14-2013
    Location
    Manila, philippines
    MS-Off Ver
    Excel 2007
    Posts
    399

    Re: Copy data from one sheet to another sheet

    Hi gaain, yes thats a good idea. How ever, i found a code can you check how can i edit this? Its copying the entire Sheet 1 including the headers.
    what i need is to copy only A5 to U5 and doing down.
    Attached Files Attached Files

  8. #8
    Valued Forum Contributor Parth007's Avatar
    Join Date
    12-01-2014
    Location
    Banglore
    MS-Off Ver
    2010
    Posts
    879

    Re: Copy data from one sheet to another sheet

    Check this....
    Attached Files Attached Files

  9. #9
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Copy data from one sheet to another sheet

    Hello geliedee,

    This code should work for you:
    Please Login or Register  to view this content.
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  10. #10
    Forum Contributor geliedee's Avatar
    Join Date
    10-14-2013
    Location
    Manila, philippines
    MS-Off Ver
    Excel 2007
    Posts
    399

    Re: Copy data from one sheet to another sheet

    Hi Tiger! Wow! Superb! Just want to ask how can i add the data in cokumn V to AA from Sheet 1 to column AE to AJ in Sheet 2?
    And can you add a msg box if the Sheet 1 is blank then it should says "No data"

  11. #11
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Copy data from one sheet to another sheet

    Updated code:
    Please Login or Register  to view this content.

  12. #12
    Forum Contributor geliedee's Avatar
    Join Date
    10-14-2013
    Location
    Manila, philippines
    MS-Off Ver
    Excel 2007
    Posts
    399

    Re: Copy data from one sheet to another sheet

    Hi @tigeravatar,

    Thank you so much...
    I have an error in this part of the code:

    Please Login or Register  to view this content.
    Sorry for asking to much.


    Attached is the file
    Attached Files Attached Files

  13. #13
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Copy data from one sheet to another sheet

    Ah, found the error, change the line you're getting an error on to be this instead:
    Please Login or Register  to view this content.

+ 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: 4
    Last Post: 01-28-2014, 01:04 PM
  2. [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
  3. 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
  4. [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
  5. 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