The issue was the '====== in both visible and hidden cells. Once all instances were removed, the export worked.