paublojobino
New Member
- Joined
- May 27, 2022
- Messages
- 10
- Office Version
- 2010
- Platform
- Windows
Hi experts,
I have a Userform which contains a listbox for which i am setting the source on Userform_activate as per below:
How can I display the data is the listbox in reverse order (so the most recently added data displays at the top, not the bottom?)
I have a Userform which contains a listbox for which i am setting the source on Userform_activate as per below:
VBA Code:
Dim sh As Worksheet
Set sh = Sheets("tordata")
Dim lr As Long
lr = Sheets("tordata").Range("a" & Rows.Count).End(xlUp).Row
Sheets("tordata").Activate
With Me.ListBox1
.RowSource = "a4:CC4" & lr
How can I display the data is the listbox in reverse order (so the most recently added data displays at the top, not the bottom?)