#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 47
Default drop down form

Well, if you want a drop down list from VBA then follow following steps
1.Right click on toolbarclick control box
2.From the control box that appears on your sheet, select a combo box and
draw it to your sheet
3.It will add a drop down box to you sheet
to populate the drop down list use following code
ComboBox1.AddItem("<item")

Again there is another way to add a drop down list,
1.In sheet2 column A enter some data
2.Select the data you entered and name it as mydata by typing mydata in the
box to the left top
3.Select cell A1 in sheet1,
4.Select datavalidation from menubar
5.From the setting tab,select list from allow and enter following in source
box
=mydata
6.Click OK
Now, you are done!

Have a nice time

Chris
------
Convert your Excel spreadsheet into an online calculator.
http://www.spreadsheetconverter.com

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200902/1

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
drop down list on form Ruth Excel Discussion (Misc queries) 3 November 11th 08 01:28 PM
Charts form drop down Jithu Excel Discussion (Misc queries) 2 October 1st 07 10:30 AM
Form drop down list dg Excel Worksheet Functions 3 July 11th 07 05:17 PM
Drop down box like a form WHGRIT Excel Discussion (Misc queries) 2 May 10th 06 08:36 PM
Form Drop Down Jim Heavey Excel Discussion (Misc queries) 1 February 6th 06 09:57 PM


All times are GMT +1. The time now is 03:31 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"