2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Excel VBA H80004005 (-2147467259) オートメーション エラーのトラブルシューティング

Last updated at Posted at 2022-07-23

Excel VBA H80004005 (-2147467259) オートメーション エラーのトラブルシューティング

  • 該当環境
    ・Windows10 Pro
    ・Office2019 home and bisiness

  • 事の発端
    22年7月中旬頃、Office2019で仕事用のVBA付きEXCELを開いたところ突然エラーが発生。他のファイルもエラーが発生したため調査し、どうやらOfficeのアップデートパッチに起因するものだと判明(22年7月のOfficeアップデート内容)。Officeを一旦アンインストール後、再インストールしたが事象がなおらない。どうやら更新プログラムのロールバックが有効と判明。

  • 対応方法

  1. コマンドプロンプトを右クリック。メニューから管理者モードで開く。
  2. ClickToRunのフォルダまで行く。
  3. 22年4月まで一旦ロールバック(16.0.15225.20204)Office2019は16.0.*で他は未確認。コントロールパネルのプログラムと機能のOfficeのバージョンに現在の適用バージョンが書いてある。更新内容の詳細はこちら( https://docs.microsoft.com/ja-jp/officeupdates/microsoft365-apps-security-updates )
  4. M$の対応が済むまでOfficeの自動アップデートを停止させる。ファイル→アカウント→Office更新プログラムで自動更新を無効にする。
  • 実行コマンド
cd %programfiles%\Common Files\Microsoft Shared\ClickToRun
officec2rclient.exe /update user updatetoversion=16.0.15225.20204
2
2
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?