+ Reply to Thread
Results 1 to 2 of 2

Find row with specific text and copy the 10 rows below to another sheet

  1. #1
    Registered User
    Join Date
    10-18-2020
    Location
    Hong Kong
    MS-Off Ver
    MS 2010
    Posts
    8

    Find row with specific text and copy the 10 rows below to another sheet

    Hi, I would like to extract data from a excel table by vba: if ws1.cell (i,1) = "AAA" then copy ws.1.cell(i+1,1) to ws.1.cell(i+9,1) to column A of ws.2. Please help, thanks.

  2. #2
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    11,138

    Re: Find row with specific text and copy the 10 rows below to another sheet

    Please Login or Register  to view this content.
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

+ 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] Find matching text and copy all rows to new sheet
    By Gazou in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-13-2019, 08:38 AM
  2. Replies: 0
    Last Post: 07-12-2018, 09:10 AM
  3. Find specific word in Column A & copy that row & the next 30 rows to a new sheet
    By ludsonline in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-08-2017, 08:04 AM
  4. Copy rows with specific text in cell to another sheet
    By hummy in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-15-2015, 12:19 PM
  5. [SOLVED] Copy rows with specific text in specific column into specific sheet
    By Valemaar in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 08-22-2014, 03:23 PM
  6. Replies: 3
    Last Post: 10-31-2013, 03:41 PM
  7. How to find a text string and then copy the next 5 rows to a new sheet
    By jmorisey in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-16-2013, 03:32 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