1
1

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でマクロの実行が『セキュリティリスクこのファイルのソースが信頼できない…』でブロックされた時の対応

Last updated at Posted at 2023-12-19

現象

xlsmファイルを開いた時に下記。

image.png

セキュリティリスク
このファイルのソースが信頼できないため、Microsoftによりマクロの実行がブロックされました。

xlsmファイルは作成元がはっきりしていて、マクロを実行しても問題が無いファイル。

対応

xlsmファイル上で右クリック → 『プロパティ』。
下記にチェック入れるとマクロを実行できました。
image.png

このファイルは他のコンピューターから取得したものです。
このコンピューターを保護するため、このファイルへのアクセスはブロックされる可能性があります。

蛇足

『許可する』にチェック入れるのはあくまで暫定対応だと思います。

『マクロが実行できなければ許可しておけばいい』という癖がつくと…

  • ネットからダウンロードした怪しいマクロ入りエクセル
  • メールに添付された怪しいマクロ入りエクセル

といったものまでホイホイ許可してしまう危険が高まります。

バージョン

Microsoft Windows [Version 10.0.19045.3803]
Microsoft Excel for Microsoft 365 MSO (バージョン 2311 ビルド 16.0.17029.20108) 32 ビット

1
1
0

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
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?