Hi,
for example, there is a table A1:D10 (headers included).
In column D:D are values:
1. Logistics
2. Direct Purcashing
If I have login/logout for each user in excel separate sheet (like database), how I can make "If statement" for loop to populate listbox with data by D column?
The truth is I dont want to use two different sheets for this job. I would like to use one table as database.
Something like:
For Each i In Sheets("Database").Range("H3", Sheets("Database").Range("H" & Application.Rows.Count).End(xlUp))
If ..... Then
... .RowSource = ...
End If...
Next i
Is that possible?
for example, there is a table A1:D10 (headers included).
In column D:D are values:
1. Logistics
2. Direct Purcashing
If I have login/logout for each user in excel separate sheet (like database), how I can make "If statement" for loop to populate listbox with data by D column?
The truth is I dont want to use two different sheets for this job. I would like to use one table as database.
Something like:
For Each i In Sheets("Database").Range("H3", Sheets("Database").Range("H" & Application.Rows.Count).End(xlUp))
If ..... Then
... .RowSource = ...
End If...
Next i
Is that possible?
Last edited: