Thank you @evalica, but the goal is to get the code executed from Main.MySheet itself first (sorry I was unclear by mentioning “from a sheet”), not from another sheet. Since the code does not even work for Main.MySheet (when viewing Main.MyObject), I doubt it will work better when included from another one, or do you things differently?