Hey Guys,
I have been investigating for a while an issue, I have a userform with multipage (Page1, page2, Page3) .
The 3 pages have command buttons and labels, but only the page1 keeps the memory of the labels as "Completed", when I try to run others codes in comandbutton in page2, not sure why the code start running and close the userform and basically the useform reset it so that means I show again the userform but the labels are empty not as completed (Memory should keep). The vba code used for page2 is calling other macros that make actions in other worksheets so I guess the issue is , not sure why userform get close when vba call macro.
Note: Userform is setup to show as modaless.
I dont know if there is a way to avoid the userform get close when vba call macro or if should I avoid calling macro and adding the full code into the respective command button to not call macro directly.
No sure if something else is required to configure it from multipage configuration.
I would like to share the file but I cannot share it due confidential politics.
Appreciate your analisis here, because I want to use multipage with diferent vba code assigned to command button and labels.
Andres
I have been investigating for a while an issue, I have a userform with multipage (Page1, page2, Page3) .
The 3 pages have command buttons and labels, but only the page1 keeps the memory of the labels as "Completed", when I try to run others codes in comandbutton in page2, not sure why the code start running and close the userform and basically the useform reset it so that means I show again the userform but the labels are empty not as completed (Memory should keep). The vba code used for page2 is calling other macros that make actions in other worksheets so I guess the issue is , not sure why userform get close when vba call macro.
Note: Userform is setup to show as modaless.
I dont know if there is a way to avoid the userform get close when vba call macro or if should I avoid calling macro and adding the full code into the respective command button to not call macro directly.
No sure if something else is required to configure it from multipage configuration.
I would like to share the file but I cannot share it due confidential politics.
Appreciate your analisis here, because I want to use multipage with diferent vba code assigned to command button and labels.
Andres