Good day,
I have googled and tried various solutions, vainly.
I am looking for a solution how to initialise a Userform from 2 different subs. The Userform is filled dynamically depending on the content of the sheet List.
Userform initialise code:
Sud procedure 1
the second sub procedure code is somehow
Following some inputs found on the web, I have done many tests, from which:- I have changed the Private to Public without success.
- I have tried to integrate a Application.Run "'" & UserForm1.Name & "'!UserForm_Initialize"
- I have tried to define the following in the "main" subs:
- Dim userForm1 As UserForm1
- Set userForm1 = New UserForm1
but I don't manage to get any result.
I can handle the subs and userform_initialise alone (without linking the userform_initialise to the subs). The Private sub userForm1_initialise () works fine alone, after it is shown, the user will perform a selection of the check boxes and click a button to use this selection and create a new sheet. The selected values are correctly managed afterwards.
Could someone help and explain how I can manage to initialise the userform from the sub procedures?
Thanks in advance for any support you could provide me.
Crissc
Bookmarks