LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 57
Default Making a list box of checkboxes

I want to create a listbox of choices. When the user clicks on checkboxes
corresponding to a choice I will use those choices for further processing.
This is what I have so far; how do I display the requisite checkboxes for the
choices?

Sub load_names()
Dim emp_range As Range
Worksheets(1).Activate
Set emp_range = ActiveSheet.Range("b2", Range("b2").End(xlDown))
ind = 1
For Each c In emp_range
UserForm1.ListBox1.AddItem c.Value
ind = ind + 1
Next c
UserForm1.Show
End Sub

thanks,
David
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Making checkboxes mutually exclusive instructorjml Excel Discussion (Misc queries) 3 April 6th 06 06:45 AM
Sortable list of checkboxes nvtd1 Excel Discussion (Misc queries) 0 December 19th 05 10:00 PM
Making a list Pastime Setting up and Configuration of Excel 2 November 20th 05 11:59 PM
Making a new list cityfc Excel Discussion (Misc queries) 3 November 13th 05 12:57 PM
Making All Checkboxes Run the Same Code MT DOJ Help Desk[_3_] Excel Programming 5 May 12th 04 06:24 AM


All times are GMT +1. The time now is 07:07 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"