Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I want to populate a combobox with 10 integers using VBA. I also wan
the word "Integers" to display as teh field name in the column hea part of the drop down list. Here is the code for the list of integers. Sub Add_Combobox_Items() For x = 1 To 10 Sheets(1).ComboBox1.AddItem x Next End Sub How do I get the word "Integers" in the column heading? Unde Combobox1, Properties, Columnheads is set to True -- Message posted from http://www.ExcelForum.com |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
The only way that I know to do that is to tie the combobox contents to a
range in a worksheet, and put the headers in there too. No programatical way to do that -- Regards, Juan Pablo González "michael_13143 " wrote in message ... I want to populate a combobox with 10 integers using VBA. I also want the word "Integers" to display as teh field name in the column head part of the drop down list. Here is the code for the list of integers. Sub Add_Combobox_Items() For x = 1 To 10 Sheets(1).ComboBox1.AddItem x Next End Sub How do I get the word "Integers" in the column heading? Under Combobox1, Properties, Columnheads is set to True. --- Message posted from http://www.ExcelForum.com/ |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
can I use a cell content to auto-populate to a header in excel? | Excel Discussion (Misc queries) | |||
how to get Excel 07 combobox to populate from MS Access table? | Excel Discussion (Misc queries) | |||
How do i populate a text box according to selection in combobox? | Excel Worksheet Functions | |||
Populate combobox with visable rows only | Excel Programming | |||
Having data populate text boxes based on Combobox Value | Excel Programming |