Solved

list Box

Posted on 1998-05-29
4
162 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
Comment Utility
Edited text of question
0
 

Author Comment

by:mathiv
Comment Utility
Adjusted points to 75
0
 
LVL 1

Accepted Solution

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

list1.selected(index) = true


0
 
LVL 2

Expert Comment

by:woka
Comment Utility
This might be a bit easier:

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

0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

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.
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

744 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

8 Experts available now in Live!

Get 1:1 Help Now