Share via

w11 insider Access VBA: TopIndex in ListBox Control not supported

ano fok 0 Reputation points
2025-04-03T01:57:08.1+00:00

Using a laptop with Windows 11 Insider and Access 365, the following steps were taken:

  1. Created a new blank form with the required TextBox, Button, and ListBox controls.
  2. Implemented an topindex example in VBA, replacing control names with those from the form.
  3. Upon saving and running the form, the highlight on TopIndex "method or data member not found."
  4. Commented out the TopIndex lines, but the code stops at .Text= which runs after adding .Focus in front.
  5. Seeking clarification on where the initiation is used
  6. why a button is necessary if clicking on the ListBox can serve the same function.

Any insights or assistance with this issue would be appreciated.

Microsoft 365 and Office | Development | Microsoft 365 Developer Program

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.