Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
when I load my userform, the following procedure is showing the listbox first record. how I can view the last record in the ListBox when userform loads. I am using this code: Option Explicit Dim LastRow As Long Private Sub UserForm_Initialize() Sheets("DailyIssue").Select 'to hide Blank Rows in ListBox. LastRow = Worksheets("DailyIssue").Cells(Rows.Count, "A").End(xlUp).Row ListBox1.RowSource = "A5:J" & LastRow End Sub Regards. Syed Shahzad Zafar |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to show Last Record in ListBox when loaded. | Excel Programming | |||
Hide Every Thing during UserForm Loads | Excel Programming | |||
Hide All Excel Toolbars, Menubars etc when UserForm Loads | Excel Programming | |||
UserForm Loads Slowly | Excel Programming | |||
Using a listbox to show every unique record in a range | Excel Worksheet Functions |