ListFillRange from another closed workbook
How do I create a drop down list from another excel workbook without opening it?
With Worksheets(1)
Set lb = .Shapes.AddFormControl(xlListBox, 100, 10, 100, 100)
lb.ControlFormat.ListFillRange = Workbooks("Ports and Agents.xls").Worksheets("Ports and Agents").Range("a1:a500").Address(external:=True)
End With
doesnt work. I would really appreciate some help.
Thanks
|