+ Reply to Thread
Results 1 to 3 of 3

Copy the values from A column and past into new work book based on condition

  1. #1
    Registered User
    Join Date
    08-15-2015
    Location
    Usa
    MS-Off Ver
    2013
    Posts
    12

    Copy the values from A column and past into new work book based on condition

    Hi
    I have a column say A contained the following values

    abc
    abc
    abc
    abc
    xyz
    xyz

    I want to copy the value from A column and past it on "newworkbook" based on condition like
    IF CELLS(1,1).VALUE="abc" THEN
    copy the rows only contain "abc" and past on "newworkbook"

    Can anyone help me thanks
    Asif

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: Copy the values from A column and past into new work book based on condition

    Not sure if "newworkbook" is actually a new workbook or just a different sheet name. Since you didn't indicate a sheet name for a New Workbook I will assume you meant a different sheet name. If the former then you will just need to change the copy line to reflect the accurate paste location (i.e. Workbook.Worksheet.Range)

    Please Login or Register  to view this content.
    If you are happy with my response please click the * in the lower left of my post.

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,893

    Re: Copy the values from A column and past into new work book based on condition

    Another option

    Please Login or Register  to view this content.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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. VBA Code for populating cells from one Work Book A to another Work Book with condition
    By ray.kanata in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 06-22-2015, 03:46 PM
  2. New to VBA- Copy, paste values of worksheet into new work book
    By minimacro in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-09-2014, 04:44 AM
  3. Copy Row Based on Condition in Column A in worksheet to Other Sheets in Book
    By wortman in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-14-2013, 12:20 PM
  4. Replies: 4
    Last Post: 11-20-2012, 05:25 PM
  5. Copy and paste values from one work book to another workbook
    By TheAnswer in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-18-2010, 02:57 AM
  6. How to copy one column values to another column based on condition that row2 contain
    By sanjay19961 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-13-2010, 10:32 AM
  7. copy data from one work book to other based on criteria
    By arnab0711 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-10-2009, 01:35 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