listview starting from the 120th item

DJones48

New Member
Joined
Dec 1, 2008
Messages
1
Is it possible to view listview starting from the 120th item when it initializes. I have a varying listview containing past,present and future transactions. These transactions are sorted into date order. What I would like is for when the listview initialises it starts its view in the middle ie opens up on todays date with past transactions above and future transactions below.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:eek:ffice:eek:ffice" /><o:p></o:p>
<o:p></o:p>
though I have used this forum many times before this is my first post. I have searched this forum and others for answers, but listview questions and answers are very few<o:p></o:p>
<o:p></o:p>
thanking you in advance<o:p></o:p>
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Hi & Welcome to posting to the Board!

Assuming your list is a listbox control on a userform then you can do this by writing some code into the Userform Intialize event:

Code:
Private Sub UserForm_Initialize()
With Me.ListBox1
   .List = Sheet1.Range("A1:A200").Value   'amend as required
   .ListIndex = 119   'list indexes are zero based
End With
End Sub
 
Upvote 0

Forum statistics

Threads
1,215,471
Messages
6,124,999
Members
449,201
Latest member
Lunzwe73

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top