I need to write a code where it will be possible to deactivate userform when user clicks outside area of userform or another workbook.
I tried
Userform.Show vbModeless
but it does not give the result I want, when I am clicking back to userform it is impossible to activate it.
For note, I am using wb open { userform.show 0} and whole dblclicking inside sheet.
I think the inizialization or activate will help me. Any ideas?