+ Reply to Thread
Results 1 to 2 of 2

Type13 Mismatch on Find/offset

  1. #1
    Registered User
    Join Date
    01-29-2014
    Location
    Wales UK
    MS-Off Ver
    Excel 2010
    Posts
    33

    Type13 Mismatch on Find/offset

    hey Guys

    So I have a userform with 3 command buttons on it and a textbox
    Command button 1 is "previous"
    Command button 2 is "exit" not a problem
    Command button 3 is "Next" ' where the problem lies!

    Looking at sheet1, where a list of names are stored in column A, and numbers/text/symbols (notes) can be stored in column B; It looks for the first instance of the name, the returns the first offset cell in the userform initialise, so that textbox1 automatically has the first note of that person in it.

    This code gets so far, then I suddenly get a type mismatch 13, any ideas?

    What its doing it taking the value of the textbox1, moving down one cell and making that the new textbox value, then it is looking for that new value, looking at the -1 offset from it, checking whether it is the right name, in column A, if it is, do nothing, if it isnt, the revert to the previous textbox value,

    all in all its basically scrolling through the list of notes for that person, but on some people it is getting type mismatch, do I need to dim something, or set and object or something, I'm a bit lost to be honest, column B can be anything, it can even include carriage returns, so I'm not sure what to do next!

    Please Login or Register  to view this content.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Type13 Mismatch on Find/offset

    Can you upload an example workbook?

    Click on GO ADVANCED and use the paperclip icon to open the upload window.
    If posting code please use code tags, see here.

+ 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. Type Mismatch on find command
    By Abbadon486 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-16-2014, 06:51 AM
  2. [SOLVED] Can't find type mismatch
    By captive in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-30-2013, 11:56 AM
  3. MisMatch Error for the Find Method
    By Schopf86 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-27-2011, 01:31 PM
  4. Type Mismatch Error on Find Closest Match
    By carsto in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-12-2007, 11:07 AM
  5. type13 mismatch error message... any idea why?
    By bondcrash in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-14-2005, 02:11 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