Hi,
You are not loading the values while initializing the form in the combo box drop.
Hence the error.
Use error handler - but in this case the resultant output may be the input for the next one.
However see the below updated code for the same but revise once before applying.
Private Sub ComboBox1_Change()
ComboBox1.Value = ProdID
If ProdID = "" Then
Exit Sub
Else
ProdIDLK = Application.WorksheetFunction.VLookup(ProdID, Sheets("Projects").Range("A5:F30"), 3, False)
TextBox15.Text = ProdIDLK
End If
End Sub
On the point 2 - "This workbook contains links to one or more external sources that could be unsafe."?
There exists a external link in the workbook - break the link and save - it will work fine.
regards,
lokicl
Bookmarks