Hello
Can someone please provide me a code snippet to take rowsource from a different workbook. Below code works fine with a range, but it would be great if you can help to get a range for combobox. Thanks in advance.
Can someone please provide me a code snippet to take rowsource from a different workbook. Below code works fine with a range, but it would be great if you can help to get a range for combobox. Thanks in advance.
Code:
With GetObject("\\100.25.1965.100\Data\Consolidate\NewFolder\Data.xlsx")
.ComboBox1.List = Range("B1:B1500")
.Close 0
End With