+ Reply to Thread
Results 1 to 3 of 3

Question??Searching form

  1. #1
    Registered User
    Join Date
    12-12-2005
    Posts
    1

    Question??Searching form

    I have one form, by this form i inserting data to table in one excell sheet. I would like to create search form, which will be search trough this table and find lines with data which i will request trough my own formular and then it will read line by line and show data from lines into formular. Anyone know ho do it ?

  2. #2
    Tom Ogilvy
    Guest

    Re: Question??Searching form

    set table = Range("B11:T20")
    res = Application.Find("myvalue",Table.columns(1),0)
    if not iserror(res) then
    with Userform1
    .Textbox1.Text = Table.Item(res,1)
    .Textbox2.Text = Tabel.Item(res,2)
    End With
    End if

    might be a start

    --
    Regards,
    Tom Ogilvy


    "frankosun" <frankosun.1zx3qq_1134375055.9988@excelforum-nospam.com> wrote
    in message news:frankosun.1zx3qq_1134375055.9988@excelforum-nospam.com...
    >
    > I have one form, by this form i inserting data to table in one excell
    > sheet. I would like to create search form, which will be search trough
    > this table and find lines with data which i will request trough my own
    > formular and then it will read line by line and show data from lines
    > into formular. Anyone know ho do it ?
    >
    >
    > --
    > frankosun
    > ------------------------------------------------------------------------
    > frankosun's Profile:

    http://www.excelforum.com/member.php...o&userid=29566
    > View this thread: http://www.excelforum.com/showthread...hreadid=492648
    >




  3. #3
    frankosun
    Guest

    Re: Question??Searching form

    Thanx for your help, i will try it and i will let you know, but many thanx
    for your help.
    regards

    frankosun

    Tom Ogilvy pÃ*Å¡e:

    > set table = Range("B11:T20")
    > res = Application.Find("myvalue",Table.columns(1),0)
    > if not iserror(res) then
    > with Userform1
    > .Textbox1.Text = Table.Item(res,1)
    > .Textbox2.Text = Tabel.Item(res,2)
    > End With
    > End if
    >
    > might be a start
    >
    > --
    > Regards,
    > Tom Ogilvy
    >
    >
    > "frankosun" <frankosun.1zx3qq_1134375055.9988@excelforum-nospam.com> wrote
    > in message news:frankosun.1zx3qq_1134375055.9988@excelforum-nospam.com...
    > >
    > > I have one form, by this form i inserting data to table in one excell
    > > sheet. I would like to create search form, which will be search trough
    > > this table and find lines with data which i will request trough my own
    > > formular and then it will read line by line and show data from lines
    > > into formular. Anyone know ho do it ?
    > >
    > >
    > > --
    > > frankosun
    > > ------------------------------------------------------------------------
    > > frankosun's Profile:

    > http://www.excelforum.com/member.php...o&userid=29566
    > > View this thread: http://www.excelforum.com/showthread...hreadid=492648
    > >

    >
    >
    >


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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