Note: In the piece of code above, we added the "DrawingObjects" option. This corresponds to the "Edit Objects" in the protect sheet form. This is necessary to export and update charts, as they could not be selected otherwise.