+ Reply to Thread
Results 1 to 4 of 4

Macro to move information from one workbook sheet to another

  1. #1
    Forum Contributor
    Join Date
    04-14-2014
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    198

    Macro to move information from one workbook sheet to another

    I have 2 workbooks, say workbook1 and workbook2 for example. workbook2 is blank, workbook1 has all of my information.

    I need workbook1 to have the information on sheet1 to be copied onto sheet 1 of workbook2.

    Say workbook1 has sheet1 with the following information, i ONLY want the information that does NOT have an X in column C to copy over to the other workbook.
    So it should search each row and if there is NOT an X in column C it should copy the row to the other workbook.
    COLUMN
    A B C
    APPLES 500 X
    ORANGES 400
    GRAPESN 550 X
    LEMONS 480 X
    LIMES 558


    Thanks for all the help!!!

  2. #2
    Valued Forum Contributor spitfireblue's Avatar
    Join Date
    01-29-2015
    Location
    Adelaide, Australia
    MS-Off Ver
    2007,2010,2016
    Posts
    611

    Re: Macro to move information from one workbook sheet to another

    Hi,

    Probably the easiest way is to copy all the data to a new workbook and delete any rows where the X is in column 3. Something like this...

    Please Login or Register  to view this content.
    You can then add to the code to save the new workbook etc. if you wish.
    Regards,
    Stephen

    If you feel someone has helped you please thank them and click on the star on their post to add reputation.
    Please ensure that you use code tags where relevant, and mark solved threads as solved.
    Most of all please be respectful and understanding of others.

  3. #3
    Forum Contributor
    Join Date
    04-14-2014
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    198

    Re: Macro to move information from one workbook sheet to another

    I will be using the other sheets in the workbook I need to copy this data to though... so that wont work. Any other ideas?

  4. #4
    Valued Forum Contributor spitfireblue's Avatar
    Join Date
    01-29-2015
    Location
    Adelaide, Australia
    MS-Off Ver
    2007,2010,2016
    Posts
    611

    Re: Macro to move information from one workbook sheet to another

    No problems, here you go. You will need to modify the name and location of the workbook you are copying to though.

    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. Macro to copy and paste information from one sheet to another (closed) workbook
    By V.Cell in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-25-2015, 04:25 AM
  2. Macro does not work when I move / copy sheet within the same workbook
    By osfares in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-23-2013, 11:45 AM
  3. Excel Macro Move Splited Data to Assigned Workbook Sheet's
    By johnodys in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-30-2013, 07:59 AM
  4. Need macro to move from sheet to Workbook
    By anee5252 in forum Excel General
    Replies: 15
    Last Post: 05-02-2012, 10:41 AM
  5. Move sheet to ANOTHER workbook, but Macro terminates itself!
    By alohc in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 02-06-2012, 12:06 AM
  6. Move information from one sheet into another
    By preatygirl75 in forum Excel General
    Replies: 1
    Last Post: 11-20-2007, 06:14 PM
  7. Macro - Move information from Sheet 1 to Sheet 2
    By Barbosa in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-14-2006, 04:17 AM

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