the attached dvb lacked a module that sent the userform
if even in yours is so then:
1) go to vba editor (alt+f11)
2) in the project window click on any item with the right button and choose enter - form
3) in the inserted module insert for example the following sub
Code:
sub main()
load userform1
with userform1
.show
end with
unload userform1
end sub
At that point you can launch the main routine
Note: from what I understood the attached dvb lists the only layers that are "freeze" in the combobox and, if chosen, "scan" them. Is everyone there what he has to do? if you, the code is certainly optimized, for what matters