You haven't told us which line is failing.
Assuming the Agendaku.docm file does indeed contain a userform with the name UserFormTombol, I would have expected you would need to LOAD that userform before trying to set the enabled values of controls in it. I also don't know if those two controls exist on your userform.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
|