Hello Dear Members,
My question is about ListBox.
I have a table in which shown information about workers and this table is dynamic.
Actually this table is my database relate to workers' information.
Sometimes I need to make some changes on date, so I need to bring that data into list box.
Here is my code:
I got debug with last part.
Thanks in advance!![]()
Sub PullDataIntoListBox() Dim LRow As Long Dim LCol As Long EditData.Show With Worksheets("MainDataBase") LRow = Cells(Rows.Count, "A").End(xlUp).Row LCol = Cells(4, Columns.Count).End(xlToLeft).Column .RowSource = Sheets("MainDataBase").Name & "!" & _ Sheets("MainDataBase").Range("LRow:LCol").Address End With End Sub
Bookmarks