LoginSignup
0

More than 3 years have passed since last update.

ArrayListを使用するVBAでメモリ不足エラーが発生するようになった件(Windows10)

Posted at

突然の出来事

新しいWindows10パソコンで、過去に作成した業務用のVBAマクロが「メモリ不足です」とエラーを吐くようになった。

調査

調べてみると、.NET 4.5 Framework以降?で、外部からのSystem.Collection.ArrayListへのアクセスができなくなっているようだ。
最近のWindows10はクリーンインストール時に、.NET 4.5 Framework以前の環境が無効化されている。

対応

Windows10の設定 - Windows機能の有効化または無効化(検索でOptionalFeaturesでも表示される)で、「.NET Framework 3.5」にチェックを入れて有効化する。

2019-07-11_09h59_45.jpg

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
0