Stromma
04-06-2005, 06:25 AM
Hi
I know how to add all sheets in a workbook to a listbox and then activate them by selecting them in the listbox. Now I'm trying to do something similar with userforms.
I manage to add all workbook userform names in the listbox, but when i select a form to load I get an error. If i use an msg to show the selected value I've get the correct userform name, but when I try to actually load a form it won't work.
I tried using the selected userform name as well as the userform number in the click event.
Any idea?
Stromma
I know how to add all sheets in a workbook to a listbox and then activate them by selecting them in the listbox. Now I'm trying to do something similar with userforms.
I manage to add all workbook userform names in the listbox, but when i select a form to load I get an error. If i use an msg to show the selected value I've get the correct userform name, but when I try to actually load a form it won't work.
I tried using the selected userform name as well as the userform number in the click event.
Any idea?
Stromma