Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Display of Record Set
Dear Friends. I have a table with three fields A,B,C. I need the code for if i pu the value in textbox1 it searchs with Col A, if found then rest o record shown in textbox2 and textbox3. And if it is a new record the append the sheet. What codes i am using are these. dim ws as worksheet dim irow as long set ws= worksheets("Code") irow=ws.cells(rows.count, 1).end(xlup).offset(1,0).row ws.cells(irow, 1).value = me.textbox1.value ws.cells(irow, 2).value = me.textbox2.value ws.cells(irow,3).value = me.textbox3.value Any suggestion please. Syed Haider Al -- Syed Haider Al ----------------------------------------------------------------------- Syed Haider Ali's Profile: http://www.excelforum.com/member.php...fo&userid=2199 View this thread: http://www.excelforum.com/showthread.php?threadid=47650 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Filter / Lookup: Display record on new sheet based on category... | Excel Discussion (Misc queries) | |||
Display unique record | Excel Discussion (Misc queries) | |||
How to display set of record s on the forms using previous & next button | Excel Programming | |||
Mouse over Record Display | Excel Programming | |||
record of records count for display... | Excel Programming |