MrExcel Message Board

Go Back   MrExcel Message Board > Question Forums > Excel Questions

Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only.

Reply
 
Thread Tools Display Modes
Old Mar 25th, 2002, 12:49 PM   #1
AllenL
Board Regular
 
Join Date: Mar 2002
Posts: 67
Default

Hello
Does anyone know how to add a column of items to the combobox alphabatically and elimate the duplicated ones?
Thanks in advance
AllenL is offline   Reply With Quote
Old Mar 25th, 2002, 02:24 PM   #2
AllenL
Board Regular
 
Join Date: Mar 2002
Posts: 67
Default

Can someone please help me...
This should be a common application right
Some hint will very helpful too
Thanks in advance
AllenL is offline   Reply With Quote
Old Mar 25th, 2002, 02:31 PM   #3
dk
MrExcel MVP
 
Join Date: Feb 2002
Location: Sydney, Australia
Posts: 2,908
Default

Do you want to use VBA? Which combobox are you using - the one from the Control Toolbox or one from Forms? Is the data in one column or more?

D
dk is offline   Reply With Quote
Old Mar 26th, 2002, 06:01 AM   #4
AllenL
Board Regular
 
Join Date: Mar 2002
Posts: 67
Default

I want to use VBA, and I have 4 columns of data. So I guess I have to use 4 comboboxs.
Can you help me out?
Thanks in advance
AllenL is offline   Reply With Quote
Old Mar 26th, 2002, 06:08 AM   #5
AllenL
Board Regular
 
Join Date: Mar 2002
Posts: 67
Default

The purpose of my combobox is to show all the different data in a column and for user to type in the data. After the user has the data in the combobox, the user can search the data in the column.
I have already done the search part. Right now, I just need the combobox to show all the data.
Thanks in advance
AllenL is offline   Reply With Quote
Old Mar 26th, 2002, 06:20 AM   #6
paelinck
Board Regular
 
Join Date: Mar 2002
Location: Leiden, The Netherlands
Posts: 68
Default

My suggestion would be to use the Advanced Filter in the Data menu to select unique items (select "Unique records only" and save results in a new location), and then to sort the resulting list. You can then use this list als input range for your combo box(es).

Marc
paelinck is offline   Reply With Quote
Old Mar 26th, 2002, 06:28 AM   #7
Dave Hawley
Banned
 
Join Date: Feb 2002
Posts: 1,582
Default

Hi Allen

I think this will be just what you need.

http://www.ozgrid.com/VBA/UserForms.htm



Dave Hawley is offline   Reply With Quote
Old Mar 26th, 2002, 06:55 AM   #8
AllenL
Board Regular
 
Join Date: Mar 2002
Posts: 67
Default

Hello Dave
The example you have doesn't use the combobox and the user is not allow to type in the textbox.
I found a couple of combobox examples, and I follow its instruction(basically, changing the property of the combobox). It is almost working now. The only problem I have is that it shows all the duplicated data and the scroll bar can't scroll.
Can you help me out
Thanks in advance
AllenL is offline   Reply With Quote
Old Mar 26th, 2002, 07:00 AM   #9
nisht
Board Regular
 
Join Date: Feb 2002
Location: Ahmedabad Gujarat
Posts: 303
Default

Friend,
I suppose file nos.
16,18,22,23

if fact file nos 22 will give the help what exactly you are asking for and about showing the columns.. i suppose file nos 23 can be more useful to you.
http://www.pexcel.com/download.htm
from my download section can be helpful to you
nishith desai


[ This Message was edited by: nisht on 2002-03-26 06:03 ]
nisht is offline   Reply With Quote
Old Mar 26th, 2002, 07:46 AM   #10
AllenL
Board Regular
 
Join Date: Mar 2002
Posts: 67
Default

Hello nisht
I tried the examples you have but I still can't get my scroll bar move nor elimate the duplicated data. I downloaded file no.22, however, the file is damaged and I can't open it
Any more help will be very appreciated
Thanks in advance
AllenL is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 03:43 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
All contents Copyright 1998-2012 by MrExcel Consulting.
diabetic desserts recipes recipes Diabetic Soups Holiday Pizza Recipes Popcorn Recipes Recipes For Microwave Pasta Recipes Casserole Recipes Chili Recipes Curry Recipes Crockpot Recipes Apples Recipes Bread Recipes Vegetarian Recipes Vegetable recipes Desserts Recipes Appetizers Ethnic Recipes Meat Dishes Barbecue Recipes Sauces Recipes Marinade Recipes Low Fat Recipes Frugal Gourmet Kitchen Classics Recipes On The Grill Cook Books Seafood Recipes Cajun Recipes Breads Low Fat Low Fat Breads Bread Machine Recipes Yeast Breads Quick Breads Fat Free Vegetarian Salad Recipes Eggplant Recipes Radish Recipes Tomato Recipes Jalapeno Recipes Potato Recipes Lettuce Recipes Cabbage Recipes Beans Ambrosia Recipes Biscotti Recipes Desserts Low Fat Cookie Recipes Cheesecake Recipes Cake Recipes Pie Recipes Muffin Recipes Custard Recipes Best Appetizers Appetizers Low Fat Salsa Recipes Dip Recipes International Recipes Afghan Recipes Alaska Recipes French Recipes German Recipes Greek Recipes Italian Recipes Spanish Recipes Thai Recipes Korean Recipes Chinese Recipes Mexican Recipes Indian Recipes Beef Recipes Pork Pork & Ham Pork Butts Pork Chop Recipes Pork Ribs Rulled Pork Poultry Recipes Stews Recipes Ground Beef Barbecue Grill Barbecue Smoker All Purpose Sauce BBQ Sauce Barbecue Sauce Carolina BBQ Sauce Pickle Recipes Marinades Smoking Low Fat Appetizers & Dips Low Fat Breakfast Low Fat Cakes Low Fat Cheesecakes Low Fat Cookies Low Fat Desserts Low Fat Fish & Seafood Low Fat Meats Low Fat Pasta Low Fat Pies Low Fat Salads Low Fat Sandwiches Low Fat Sauces & Condiments Low Fat Sides Low Fat Soups Low Fat Vegetarian Baker's Dozen Taste of Home Recipe Book Bon Appetit Cookbook Blacktie Cookbook Buster Cook Book Cookbook USA Cook Book Cook Book Sara's Cookbook Sara's Cookbook Appetizers and Dips Poultry recipes Diabetic recipes Holiday recipes Miscellaneous recipes 110 recipes 1986 Usenet cookbook 2900 recipes Cyberrealm recipes Great sysops of world Specialty recipes Ceideburg recipes Cheese recipes Chili recipes Fruits recipes Garlic recipes Great chefs of NY Londontowne recipes Raisins recipes Recipes for kids US Food Vegetarian recipes Bread recipes Drinks Meat Dishes Brisket recipes Caribou recipes Chicken recipes Filet mignons recipes Pork recipes Swordfish recipes Turkey recipes Pasta recipes Uncategorized recipes Ethnic recipes Canada recipes English recipes Ethiopia recipes Germany recipes Greece recipes Mexican recipes Philippines recipes Welsh recipes Microwave recipes Soups recipes Vegetable recipes Asparagus recipes Barley recipes Brown rice recipes Lentil recipes Mushrooms recipes Salads recipes Wild rice Desserts recipes Cakes recipes Chocolate recipes Cookies recipes Ice cream recipes