Home |
Search |
Today's Posts |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I think I'd do some more testing.
Not everything needs the .object added (check the .linkedcell line). "michael.beckinsale" wrote: Dave / Nick, Many thanks for your input, all appears to be working fine subject to more extensive testing. Heres the code l have used: Sub setlinkedcell() Dim ole As OLEObject Dim RowNo As Long RowNo = 10 For Each ole In ActiveSheet.OLEObjects If TypeOf ole.Object Is MSForms.ComboBox Then If ole.Name Like "ComboBox*" Then ole.Object.LinkedCell = "H" & RowNo ole.Object.MatchEntry = fmMatchEntryNone ole.Object.Style = fmStyleDropDownList ole.Object.MatchRequired = True RowNo = RowNo + 1 End If End If Next End Sub Once again many thanks -- Dave Peterson |
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 |