+ Reply to Thread
Results 1 to 5 of 5

Problems With VBA Find Method

  1. #1
    Registered User
    Join Date
    03-26-2013
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2010
    Posts
    11

    Problems With VBA Find Method

    Hello!

    I am using the "Find" method in VBA to search for a defined term and select the cell that is returned. Here is the code:

    Please Login or Register  to view this content.
    On my machine, this works perfectly. However, after sending it to colleague who is running a German version of Excel 2010, it no longer finds anything. Here's the strange thing: I've walked him through simply recording a macro using the "Find" function in excel, which correctly identifies the matching cell as he's recording it. However, once he tries to run the code he's recorded, it throws an Error 91 since it hasn't found anything.

    His recorded macro looks exactly like the "Find" block in my code, except that it activates the cell instead of selecting it.

    Please Login or Register  to view this content.
    I cannot, for the life of me, understand why this is not working. If anyone has any ideas, they would be greatly appreciated.

  2. #2
    Forum Contributor
    Join Date
    06-04-2013
    Location
    Moscow
    MS-Off Ver
    Office 365
    Posts
    100

    Re: Problems With VBA Find Method

    Try
    Please Login or Register  to view this content.
    I'm sorry my english...

  3. #3
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Problems With VBA Find Method

    How is the code working with out setting a range and testing if it returns a true or not?

  4. #4
    Forum Contributor
    Join Date
    06-04-2013
    Location
    Moscow
    MS-Off Ver
    Office 365
    Posts
    100

    Re: Problems With VBA Find Method

    You may use this code also:
    Please Login or Register  to view this content.

  5. #5
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Problems With VBA Find Method

    The_ Prist,
    That is exactly what I was referring to.

+ 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. find method fails to find custom format date
    By yot68 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-03-2012, 06:28 PM
  2. problems with ontime method
    By SuitedAces in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-25-2007, 04:15 PM
  3. Problems with Protect Method
    By AMK4 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-17-2006, 12:29 AM
  4. [SOLVED] Problems with a method form multiple worksheets
    By filo666 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-14-2005, 12:05 PM
  5. [SOLVED] Problems with Printout Method
    By in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-03-2005, 01:06 PM

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