Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default referencing ComboBox

hi guys

i have another question.

i use userform to filter data from the list. i have problem.
i use textbox and
1 is active
2 is completed
3 is withdrawn

eg when user puts 1 in textbox it just filters the user whose status is
1(active).
what i want is i want to use combobox which will show active, completed
and withdrawn. i dont want it to show numbers 1,2,3

what i mean is 1=active in combobox

thanks


---
Message posted from http://www.ExcelForum.com/

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default referencing ComboBox

'---------------------------------------------
Private Sub UserForm_Initialize()
ComboBox1.AddItem "Active"
ComboBox1.AddItem "Completed"
ComboBox1.AddItem "Withdrawn"
ComboBox1.ListIndex = 0
End Sub
'------------------------------------------
You find what has been selected with :=
x = ComboBox1.Valu

--
Message posted from http://www.ExcelForum.com

Reply
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
fill combobox depending on selection from another combobox Adam Francis Excel Discussion (Misc queries) 2 July 24th 08 07:39 PM
referencing a different tab by referencing a list in the current s Kevin Excel Worksheet Functions 3 July 6th 07 07:57 PM
combobox value flow23 Excel Discussion (Misc queries) 0 April 26th 06 12:21 PM
Referencing a ComboBox control from a Workbook Object? debartsa Excel Programming 3 December 9th 03 08:43 PM
combobox Nicky* Excel Programming 3 July 28th 03 09:26 PM


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

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

About Us

"It's about Microsoft Excel"