DB73
Board Regular
- Joined
- Jun 7, 2022
- Messages
- 107
- Office Version
- 365
- 2021
- 2019
- 2016
- 2010
- 2007
- Platform
- Windows
- Mobile
- Web
hey guys,
another question;
how do i populate 3 listboxes, from same table, but each with other columns, listboxes are on 1 userform
i mean for example;
listbox1 - show column ABC
listbox2 - show colomn DEF
listbox3 - show column GHI
columns could be mixed so in lsbx1 and lsbx3 could be the same column shown
my idea is that i want to select, for example, in lstbx3 a line, and then automaticly in lstbx2 and lstbx1 the same row would be selected.
then return the values or text , with cmdbttn, from selected, into textboxes so i can adjust them and update the table it came from(need a cmdbttn for that too i think, updatebttn)
i already made another userform that works,
-populate listbox
-select line in listbox
-add line items to textboxes
-adjust textboxes
-update the values from the textboxes in the table
but on this one theres only one listbox
how do i with 3
another question;
how do i populate 3 listboxes, from same table, but each with other columns, listboxes are on 1 userform
i mean for example;
listbox1 - show column ABC
listbox2 - show colomn DEF
listbox3 - show column GHI
columns could be mixed so in lsbx1 and lsbx3 could be the same column shown
my idea is that i want to select, for example, in lstbx3 a line, and then automaticly in lstbx2 and lstbx1 the same row would be selected.
then return the values or text , with cmdbttn, from selected, into textboxes so i can adjust them and update the table it came from(need a cmdbttn for that too i think, updatebttn)
i already made another userform that works,
-populate listbox
-select line in listbox
-add line items to textboxes
-adjust textboxes
-update the values from the textboxes in the table
but on this one theres only one listbox
how do i with 3