?
Solved

list Box

Posted on 1998-05-29
4
Medium Priority
?
171 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses
Course of the Month14 days, 2 hours left to enroll

800 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