Dear VBA Experts,


I have a simple question


I recorded a macro which only works if I run it through Visual Basic. If I try to run it on a click of a button I get an alert message that it is not supported or it is "banned" in that worksheet.

it is an xlsm file and I allowed all macros to be run.


do you have a guess what is wrong??

thank you indeed for your help!

br
Peter