Solved

list Box

Posted on 1998-05-29
4
163 Views
Last Modified: 2010-05-03
How to turn checkmark on in the listbox when adding items to the list box with style property setting = 1 ?
0
Comment
Question by:mathiv
  • 2
4 Comments
 

Author Comment

by:mathiv
ID: 1462043
Edited text of question
0
 

Author Comment

by:mathiv
ID: 1462044
Adjusted points to 75
0
 
LVL 1

Accepted Solution

by:
tstrob earned 70 total points
ID: 1462045
Select this item. On style 1 the item will checked then.

list1.selected(index) = true


0
 
LVL 2

Expert Comment

by:woka
ID: 1462046
This might be a bit easier:

List1.Additem "Test"
List1.Selected(List1.Newindex).Selected = True

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Excel Vlookup to move data back to source. 4 83
Macro which automatically sends attachment to Outlook 14 61
Excel - Save a copy of work book 13 83
Hide vba in gp 7 82
Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now