Patriot2879
Well-known Member
- Joined
- Feb 1, 2018
- Messages
- 1,259
- Office Version
- 2010
- Platform
- Windows
Hi please can you advise where i have gone wrong on the code below i am getting a run time error 381 invalid property array index
Code:
Private Sub Workbook_Open()
Dim Rng As Range
With Sheets("Sheet2")
Set Rng = .Range(.Range("F2"), .Range("F" & Rows.Count).End(xlUp))
End With
With Sheets("Sheet1")
.ComboBox1.Clear
.ComboBox1.List = Rng.Value
End With
End Sub