Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi all,
I have used the following code to set the linked cell for the comboboxes in my spreadsheet but now want to set the Style to fmDropDownList but when l insert that line it causes an error. Can anybody help please? Sub setlinkedcell() Dim ole As OLEObject Dim RowNo As Long RowNo = 11 For Each ole In ActiveSheet.OLEObjects If TypeOf ole.Object Is MSForms.ComboBox Then If ole.Name Like "ComboBox*" Then ole.LinkedCell = "H" & RowNo ole.Style = fmStyleDropDownList causes error End If End If Next End Sub TIA Kind regards Michael Beckinsale |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Problem setting combobox | Excel Programming | |||
Setting properties to combobox | Excel Programming | |||
Combobox setting | Excel Programming | |||
Setting ComboBox Value | Excel Programming | |||
Changing the Style of a Combobox Via It's Name | Excel Programming |