Bonjour le Forum
J'aimerai ajouter des combobox dans la frame
Mais je n'arrive pas aussi je sollicite votre aide
En remerciant par avance
Bonjour le Forum
J'aimerai ajouter des combobox dans la frame
Mais je n'arrive pas aussi je sollicite votre aide
En remerciant par avance
To start with - do not use 'On Error Resume Next' when developing. It masks errors making it harder to debug - which is what happened here.
You declare a variable called 'cbox' in the General section of the userform. That's simply 'good programming practise' but it really should be defined as 'MSForms.ComboBox' rather than a generic control.
You later refer to cbox1 with the line
... but cbox1 does not exist as a control, it was only declared, not created. The 'On Error Resume Next' did what you expect it to do, ignored the error.
The changes:
Don’t have an account yet? Register yourself now and be a part of our community!