View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
joel[_168_] joel[_168_] is offline
external usenet poster
 
Posts: 1
Default combobox.ListFillRangeTrouble in VBA


Try these changes

Dim NewFillRange As Range
If CheckBoxEntity.Value = True Then
Set NewFillRange = Worksheets("Demo").Range("DemoDeptByEntity")
Else
Set NewFillRange = Worksheets("Demo").Range("DemoDept")
end if
ComboBoxDept.ListFillRange = NewFillRange


--
joel
------------------------------------------------------------------------
joel's Profile: http://www.thecodecage.com/forumz/member.php?userid=229
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=150356

Microsoft Office Help