ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   fill userform textbox from userform listbox clik event (https://www.excelbanter.com/excel-programming/420960-fill-userform-textbox-userform-listbox-clik-event.html)

GregJG[_21_]

fill userform textbox from userform listbox clik event
 
I have a userform1 with a listbox1 (3columns) and 7 textboxes (1-7)

the listbox is filled with info from columns Q,R,S on worksheets("database")

with ListBox1_Click() I want the textboxes to fill with corresponding data
on same row

Textbox1 = column I
Textbox2 = column J
Textbox3 = column K
Textbox4 = column D
Textbox5 = column E
Textbox6 = column AA
Textbox7 = column AB

can anyone help?


GregJG[_21_]

fill userform textbox from userform listbox clik event
 
how can i get the row number of what was clicked in the listbox?

"GregJG" wrote:

I have a userform1 with a listbox1 (3columns) and 7 textboxes (1-7)

the listbox is filled with info from columns Q,R,S on worksheets("database")

with ListBox1_Click() I want the textboxes to fill with corresponding data
on same row

Textbox1 = column I
Textbox2 = column J
Textbox3 = column K
Textbox4 = column D
Textbox5 = column E
Textbox6 = column AA
Textbox7 = column AB

can anyone help?


royUK[_79_]

fill userform textbox from userform listbox clik event
 

'Cross posting' (http://tinyurl.com/6lhfvt)


--
royUK

Hope that helps, RoyUK
For tips & examples visit my 'web site' (http://www.excel-it.com/)
------------------------------------------------------------------------
royUK's Profile: http://www.thecodecage.com/forumz/member.php?userid=15
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=38039


royUK[_80_]

fill userform textbox from userform listbox clik event
 

I've already shown you in the other Forum


--
royUK

Hope that helps, RoyUK
For tips & examples visit my 'web site' (http://www.excel-it.com/)
------------------------------------------------------------------------
royUK's Profile: http://www.thecodecage.com/forumz/member.php?userid=15
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=38039



All times are GMT +1. The time now is 02:07 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com