Advertisement
Guest User

Untitled

a guest
Feb 8th, 2016
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. Me.ListX.Selected(Me.ListX.ListCount - 1) = True
  2.  
  3. YourListBox.SetFocus
  4. YourListBox.ListIndex = YourListBox.ListCount - 1
  5. YourListBox.Selected(YourListBox.ListCount - 1) = False
  6.  
  7. YourListBox.SetFocus
  8. YourListBox.Selected(YourListBox.ListCount - 1) = True
  9. YourListBox.Selected(YourListBox.ListCount - 1) = False
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement