Click here to Skip to main content
15,867,568 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Private Sub UserForm_Activate()
For i = 1 To 5
cmbProductID.AddItem ("PID00" & i)
Next i

For d = 0 To 25 Step 5
cmbDiscount.AddItem (d)
Next d
End Sub


What I have tried:

I tried putting the same name to the userForm.
Posted
Updated 18-Sep-19 22:07pm

1 solution

Please, read this to resolve your issue: Object required (Error 424) | Microsoft Docs[^]
 
Share this answer
 
Comments
CPallini 19-Sep-19 4:14am    
5.
Maciej Los 19-Sep-19 4:20am    
Thank you, Carlo.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900