+ Reply to Thread
Results 1 to 2 of 2

Find row no for date

  1. #1
    Forum Contributor
    Join Date
    03-31-2012
    Location
    Hong Kong
    MS-Off Ver
    Excel 2010
    Posts
    140

    Find row no for date

    I want to find the row no assigned to date from a range of column(area_date) as following code:

    r = Range("area_date").Find(Range("test_from")).Row

    the r should be found from correct date 1-Apr-2012(test_from), but sometime r was found from wrong date 4-Jan-2012.
    why and how to solve it? thks.

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Find row no for date

    Suggest you to check the value of "test_from" while running macro in break mode and then you can figure out the root cause. thanks.



    Regards,
    DILIPandey
    <click on below * if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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