sathyaganapathi
Board Regular
- Joined
- Apr 29, 2021
- Messages
- 81
- Office Version
- 2016
- Platform
- Windows
I want ListBox to show the Last item automatically when new item is added.
One suggestion was to use code "ListBox1.TopIndex = ListBox1.Items.Count - 1". But when used, I am getting compile error saying "Method or data member not found" and word ".Items" is highlighted.
How to get rid of this error
Or, is there any other way to go to last line in the Listbox automatically?
Please help.
Thanks.
One suggestion was to use code "ListBox1.TopIndex = ListBox1.Items.Count - 1". But when used, I am getting compile error saying "Method or data member not found" and word ".Items" is highlighted.
How to get rid of this error
Or, is there any other way to go to last line in the Listbox automatically?
Please help.
Thanks.