I have a userform with a listbox that displays data from a worksheet. I am wanting to get that data to display in the listbox by current date and time. So when a user enters new data he/she sees the most current lines of data. This is to help the user so they don't enter duplicate information.
I am hoping this can be accomplished programmatically because in the near future this form will be linked to a database not a worksheet.
Here is the code to populate my listbox:
And the code to reload my listbox when the save button is clicked by calling "RefreshListbox" :
Screen Shot of the Userform:
Capture.JPG
Bookmarks