+ Reply to Thread
Results 1 to 2 of 2

Problem with cell.Find

  1. #1
    Registered User
    Join Date
    07-11-2008
    Location
    Pune
    Posts
    28

    Problem with cell.Find

    Hi,

    I wrote the following code to perform an operation like... It should search the entire workbook and find the records matches with the given date (iDate_Key), also all the found rows should be copied to another sheet.

    But when I am running the following code, only the first row (with the date match) is getting copied.

    Please help...
    ________________________________

    Please Login or Register  to view this content.
    Last edited by VBA Noob; 08-26-2008 at 01:23 PM.

  2. #2
    Forum Contributor Tarball's Avatar
    Join Date
    04-21-2007
    Location
    Atlanta, GA
    Posts
    166
    Have a look at FindNext - You need to set a pointer to the first match, process that match, then find the next match. You keep invoking this until you have come back to the very first match you find then break the loop.

    Please Login or Register  to view this content.
    Reach me at excel_help at bellsouth dot net

+ 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. Excel date problem
    By hermiod in forum Excel General
    Replies: 4
    Last Post: 07-16-2007, 10:22 AM
  2. Cut and Paste Problem
    By agila916 in forum Excel General
    Replies: 4
    Last Post: 07-09-2007, 05:36 PM
  3. Excel 2007/ Outlook 2007 mail Problem
    By Bostock in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-25-2007, 04:26 PM
  4. Countif funtions problem
    By mike4545 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-17-2007, 02:37 PM
  5. Cell function problem
    By itty in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-19-2007, 08:27 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