+ Reply to Thread
Results 1 to 7 of 7

Copy specific data to another sheet through VBA code

  1. #1
    Forum Contributor keshavtale's Avatar
    Join Date
    03-13-2013
    Location
    india
    MS-Off Ver
    excel 2010
    Posts
    543

    Copy specific data to another sheet through VBA code

    In the attached file you can see there is N column and Q column copy that both column data as it is
    but if in Q column there is zero or blank cell then do not copy data of N column and Q column,
    you can see in cell Q69 there is zero so i do not copy that data in to after sheet , you can see cell
    Q92 is blank then also i dont copy that data , see after sheet i copy data manually in that sheet
    so you can understand how to copy data but how do that process through VBA code.
    Attached Files Attached Files

  2. #2
    Forum Expert nankw83's Avatar
    Join Date
    08-31-2015
    Location
    Kuwait
    MS-Off Ver
    365
    Posts
    1,713

    Re: Copy specific data to another sheet through VBA code

    Hi keshavtale,

    Try below code ...
    Please Login or Register  to view this content.
    If I was able to help, you can thank me by clicking the * Add Reputation under my user name

  3. #3
    Forum Contributor keshavtale's Avatar
    Join Date
    03-13-2013
    Location
    india
    MS-Off Ver
    excel 2010
    Posts
    543

    Re: Copy specific data to another sheet through VBA code

    Thanks now my problem is solved

  4. #4
    Forum Expert nankw83's Avatar
    Join Date
    08-31-2015
    Location
    Kuwait
    MS-Off Ver
    365
    Posts
    1,713

    Re: Copy specific data to another sheet through VBA code

    Glad to help & thanks for the added Rep. 👍🏼

  5. #5
    Forum Contributor keshavtale's Avatar
    Join Date
    03-13-2013
    Location
    india
    MS-Off Ver
    excel 2010
    Posts
    543

    Re: Copy specific data to another sheet through VBA code

    can you do little change in that code i forget to tell you that if cell is blank in N column then do not copy data of Q column

  6. #6
    Forum Expert nankw83's Avatar
    Join Date
    08-31-2015
    Location
    Kuwait
    MS-Off Ver
    365
    Posts
    1,713

    Re: Copy specific data to another sheet through VBA code

    Just add the blue If condition to the previous code ...
    Please Login or Register  to view this content.

  7. #7
    Forum Contributor keshavtale's Avatar
    Join Date
    03-13-2013
    Location
    india
    MS-Off Ver
    excel 2010
    Posts
    543

    Re: Copy specific data to another sheet through VBA code

    thanks now my problem is fully resolved

+ 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. [SOLVED] Search for unique numbers and copy thier specific data to another sheet in excel VBA code
    By Zahid0111 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-19-2020, 09:52 AM
  2. Help with code to copy lists from 1 sheet to another in a specific order
    By Hooty in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-01-2018, 11:04 AM
  3. [SOLVED] Code to extract and copy into specific row in new sheet
    By JayJayGC in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-06-2017, 06:50 AM
  4. vba code for copy specific data to another sheet
    By rishikrsaw in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-07-2017, 05:01 AM
  5. Replies: 5
    Last Post: 12-12-2013, 02:53 PM
  6. [SOLVED] copy a row to another sheet if row contain a specific code
    By skalus in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-17-2013, 11:32 AM
  7. Replies: 0
    Last Post: 09-17-2012, 11:10 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