Microsoft® Excel® based database addin

 

+ Reply to Thread
Results 1 to 2 of 2

Thread: [vba] find

  1. #1
    Karol_tom Guest

    Default [vba] find

    Hi,

    I want to find in whole column, before I input new entry if something
    similar (not exactly the same) exist.

    So I think and write:

    if (len(name)<6) then
    find_Name=name
    else
    find_name=left(name,6)
    end if

    I try to use find...but it doesn't work..I don't know why - in my macro I
    use find
    to check if ID number does not exist before...
    I copy this instruction and change only what I'm looking for...
    but it doesn't work.. Why ?


  2. #2
    Don Guillett Excel MVP Guest

    Default Re: find

    On Jul 21, 3:30*pm, "Karol_tom" <Karol_...@wp.pl> wrote:
    > Hi,
    >
    > I want to find in whole column, before I input new entry if something
    > similar (not exactly the same) exist.
    >
    > So I think and write:
    >
    > if (len(name)<6) then
    > find_Name=name
    > else
    > find_name=left(name,6)
    > end if
    >
    > I try to use find...but it doesn't work..I don't know why - in my macro I
    > use find
    > to check if ID number does not exist before...
    > I copy this instruction and change only what I'm looking for...
    > but it doesn't work.. Why ?


    "If desired, send your file to dguillett @gmail.com I will only look
    if:
    1. You send a copy of this message on an inserted sheet
    2. You give me the newsgroup and the subject line
    3. You send a clear explanation of what you want
    4. You send before/after examples and expected results."

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