+ Reply to Thread
Results 1 to 2 of 2

Cycle through each row in Column A in a for loop for specific text?

  1. #1
    Forum Contributor
    Join Date
    09-07-2010
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    358

    Cycle through each row in Column A in a for loop for specific text?

    Hey,

    I need help making a macro to do the following:

    1) From A7 to A Last Row cycle through each row looking for for "Summary"
    2) When found, it needs to let me know the row number so I can do things like CurrentRow.Offset....
    3) To speed the cycle up every time it finds Summary the next Summary will NOT be found in the next 8 rows.

    Anyone able to help me with this?

  2. #2
    Forum Expert Kenneth Hobson's Avatar
    Join Date
    02-05-2007
    Location
    Tecumseh, OK
    MS-Off Ver
    Office 365, Win10Home
    Posts
    2,573

    Re: Cycle through each row in Column A in a for loop for specific text?

    Just find all of them and then iterate the found range.

    e.g.
    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. [SOLVED] I need a macro to cycle down in a column and add the row value to a specific cell
    By rjackson104 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-02-2013, 12:28 PM
  2. Loop Until Active Cell is in a specific column?
    By NicholasL in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-05-2013, 02:41 PM
  3. Loop cycle not copying correct cells
    By HDMI in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-23-2013, 10:53 AM
  4. [SOLVED] Cycle Through Specific Worksheets & Paste Data In Each Sheet
    By DDM64 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-18-2012, 11:59 PM
  5. [SOLVED] Need formula to enter specific text if a column contains other specific text
    By sugarmags74 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-05-2012, 12:09 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