0

How do I access the drop down list to be able to change the ListFillRange?

If Worksheets("home").Range("K17").Value = "December" Then
ActiveSheet.Shapes.Range(Array("Drop Down 2")).Select
    With Selection
        .ListFillRange = "Lists!$D$16:$D$27"
        .LinkedCell = "Home!$J$11"
        .DropDownLines = 12
        .Display3DShading = True
    End With
    Else
ActiveSheet.Shapes.Range(Array("Drop Down 2")).Select
    With Selection
        .ListFillRange = "Lists!$D$2:$D$13"
        .LinkedCell = "Home!$J$11"
        .DropDownLines = 12
        .Display3DShading = True
    End With
End If

When I run this code I get the error

Requested shapes are locked for selection

Pᴇʜ
  • 56,719
  • 10
  • 49
  • 73

0 Answers0