I also forgot to mention that the form MUST be opened before running the code.
It works once you open the Training Done form first but this is not what I wanted as I have a button in Prog_Report to open Training Done Report
is there anyway I can stop this or do I have to develop a macro to open training done form first?
As the button has now become useless apart from opening it afterwards