+ Reply to Thread
Results 1 to 3 of 3

Find Function will only run once and then get error 91

  1. #1
    Registered User
    Join Date
    12-06-2012
    Location
    El Paso, TX
    MS-Off Ver
    Excel 2007
    Posts
    14

    Find Function will only run once and then get error 91

    I have a very simple code that I am trying to get to work, but for some reason it will only run once. Then I have to shut down excel and wait an hour before it will run again. I was wondering if anyone else has had this problem. I was also wondering if I can use a variable in the following code. It is pulling a date off of the "setup" page. And then looking for it on another page. I would like to change Sheets("Setup").Range("s7") to a variable so that if it does not find the date I can subtract a day at a time until it finds the correct day. Any help would be much appreciated. Thanks.

    Please Login or Register  to view this content.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    Win10/MSO2016
    Posts
    12,996

    Re: Find Function will only run once and then get error 91

    Without more information, maybe this will help:
    Please Login or Register  to view this content.
    Last edited by protonLeah; 03-02-2015 at 12:30 AM.
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    12-06-2012
    Location
    El Paso, TX
    MS-Off Ver
    Excel 2007
    Posts
    14

    Thumbs up Re: Find Function will only run once and then get error 91

    That worked great. Thank you

+ 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] Error in function Compile error: Can't find project or library
    By Motario1 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 12-12-2013, 02:20 AM
  2. Find Function Error
    By Steve0492 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-27-2012, 12:22 PM
  3. Error in macro due to Find function
    By exc1967 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-01-2012, 12:31 PM
  4. Error using Find function
    By bg18461 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-09-2011, 08:25 PM
  5. compile error with Find function
    By maacmaac in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-01-2009, 12:06 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