+ Reply to Thread
Results 1 to 2 of 2

Not Returning Row Number With FIND statement When FIND should be valid

  1. #1
    Forum Contributor
    Join Date
    06-15-2009
    Location
    Ontario, canada
    MS-Off Ver
    Office 365
    Posts
    371

    Not Returning Row Number With FIND statement When FIND should be valid

    I am trying to find the row in column B of worksheet 'ws_target' holding the value from worksheet 'temp', cell B2.

    The value in cell B2 of worksheet 'temp' is a date value, formatted as Thu 20-Jun, with a value of 2019-06-20 (from formula bar) or formatted as a serial as 43636.
    The data in column 2 of worksheet 'ws_target' are also date values, formatted Thu 20-Jun, a value from the formula bar as 2019-06-20. The match can be found at row 170 of 'ws_target'.

    I am getting an "Object variable or With block variable not set" error withthe line in red.

    Both ws_target and ws_temp are both properly identified and are referencing the appropriate worksheets in their respective workbooks.

    Please Login or Register  to view this content.

  2. #2
    Forum Contributor
    Join Date
    06-15-2009
    Location
    Ontario, canada
    MS-Off Ver
    Office 365
    Posts
    371

    Re: Not Returning Row Number With FIND statement When FIND should be valid

    I found another approach that works ....
    Please Login or Register  to view this content.
    Thanks

+ 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] Macro to find text and multiply by number in statement
    By Anxiety in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-19-2015, 11:14 AM
  2. Slope calculation : Find last valid number automatically
    By excelun in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-29-2014, 09:06 PM
  3. Find last valid value in a column.
    By filipedscorrea in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-22-2013, 08:52 AM
  4. if statement to find a number and return that number in a cell
    By Neelam82 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-08-2013, 10:22 PM
  5. Replies: 7
    Last Post: 01-15-2013, 05:05 AM
  6. [SOLVED] Using Find and Returning the Column Number of the Found Cell
    By Steve0492 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-31-2012, 03:49 PM
  7. Stopping errors when a find statement doesn't find!
    By matpj in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-25-2006, 10:23 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