Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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 ?


--
frankosun
------------------------------------------------------------------------
frankosun's Profile: http://www.excelforum.com/member.php...o&userid=29566
View this thread: http://www.excelforum.com/showthread...hreadid=492648

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default 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" wrote
in message ...

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default 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" wrote
in message ...

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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Searching for a request form TRACYJ503 Excel Discussion (Misc queries) 1 February 13th 08 10:40 PM
Searching by an User Form Freshman Excel Worksheet Functions 0 January 31st 07 06:24 AM
Searching in a user form / List box Idokras Excel Programming 2 November 25th 05 04:23 PM
searching excel with a form and returning the results jjfjr Excel Programming 0 May 31st 05 11:54 PM
Searching a spreadsheet using a vba form anb001[_2_] Excel Programming 2 June 24th 04 06:09 PM


All times are GMT +1. The time now is 02:15 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"