hello,
i have some ComboBoxes within a sheet and i need to inizialize their values during sheet activation
i've already written the statements but i don't know where i have to put them....
may someone help me?
hello,
i have some ComboBoxes within a sheet and i need to inizialize their values during sheet activation
i've already written the statements but i don't know where i have to put them....
may someone help me?
Last edited by mfran2002; 12-11-2008 at 09:41 AM.
Which type of combo box u hav..
Forms Control or Control Tool Box
Shijesh Kumar
http://shijesh.wordpress.com/
i have added a forms combobox onto a worksheet....
its a sample code
modify as per your need
Assumed that u want to fill the combo box with data in Column A![]()
Please Login or Register to view this content.
sorry Shijesh Kumar but i do not understand your code
i am not so skilled...
i fill my combo statically
the statements i wrote to fill my ComboBox are the following:
Sheet1.ComboBox1.Clear
Sheet1.ComboBox1.AddItem "A"
Sheet1.ComboBox1.AddItem "B"
Sheet1.ComboBox1.AddItem "C"
but i don't know where i have to put them....to fill my combo when i open my file...
If it is static you can simply assing value...
Right Click on combo box
Select Format Control
In the input Type A1:A5
In the Linked Cell type B1
now whatever is there from A1 to A5 will automatically be displayed in the combobox.. no need to write the macros for this...
U can choose any range ... and hide that...
ok, i tried your suggestion but i still have a problem:
into Format Control i have these tabs:
Dimension
Protection
Property
Web
where may i find "input" and "linked cell"?
furthermore:
if i mandatorily need to fill my combo with the statements i wrote, where have i to put them?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks