https://jinjineer.net/2021/01/24/improvespeed/
とにかく簡単にExcelVBAの処理速度を向上させたいときに使えるコード