Hello winmaxservices,
Here is the UserForm_Initialize event code that has been added to the attached workbook.
Private Sub UserForm_Initialize()
Dim n As Integer
' In Proposal field
' Need options like 1) New Policy, 2) Renewal Policy, 3) Expired policy
ComboBox9.List = Array("New Policy", "Renewal Policy", "Expired Policy")
' In Select any one scheme field
' Need options like 1) 2 years policy, 2) 5 years policy 3) 10 years polucy
ComboBox10.List = Array("2 year policy", "5 year policy", "10 year policy")
Me.Gender.List = Array("Male", "Female", "Transgender")
For n = 1 To 8
Me.Controls("ComboBox" & n).List = Array("Male", "Female", "Transgender")
Next n
' In Mode of payment field
' Need options like 1) Demand Draft, 2) Cheque 3) Online
For n = 11 To 14
Me.Controls("ComboBox" & n).List = Array("Demand draft", "Cheque", "Online")
Next n
End Sub
Bookmarks