Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thank you so much for you reply, I will try it right away :)
Regards NorTor On Thu, 1 Jul 2004 12:26:44 -0500, kkknie wrote: Try something like this: Code: -------------------- Sub CommandButton_Click() dim r as Range For Each r in Range("A1:A" & Range("A65536").End(xlUp).Row If r.Value = Combo1.Text Then Range("B" & r.Row).Value = Text1.Text Range("C" & r.Row).Value = Text2.Text Exit For End If Next End Sub -------------------- It basically searches the A column until it finds the same thing selected in the combobox, then puts the text box values into columns B and C of the same row. K --- Message posted from http://www.ExcelForum.com/ |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
fill combobox depending on selection from another combobox | Excel Discussion (Misc queries) | |||
Not allowing to continu unless a specific cell has specific answer | Excel Discussion (Misc queries) | |||
Link to specific cell in specific Excel file | Excel Discussion (Misc queries) | |||
Link from a specific Cell in Excel to a specific para. in Word | Excel Worksheet Functions | |||
Highlight a row if a specific cell is specific numbers/words | Excel Worksheet Functions |