データの分析、グラフ作成、および通信のためのツールを備えた Microsoft 表計算ソフトウェアのファミリ。
こちらで、
さるぼーさんが紹介されているように
12月のセキュリティアップデートが原因です。
こちらは原文です。
Form Controls stop working after December 2014 Updates
「Warning: If this step resolves your issue, be aware that after deploying this updated project to the other users, these users will also need to have the updates applied on their systems and .exd files removed as well.」
「If you are creating new workbooks using the new controls on an updated machine, these workbooks then require all clients to have this update installed or they will error when the book is shared.」
超意訳ですが『アップデートを適用するなら一斉に行わないとトラブルよ・・・。』
私の場合は、
コンパイルエラーが止まらなくなりました。
「無効なオブジェクト ライブラリです。または定義されていないオブジェクトへの参照を含んでいます。」
で、Option Explicit がハイライト(青)されます。
取りあえず、Option Explicit の行を削除してコンパイルする。
何もない部分に半角スペース?があるように指示されてコンパイルエラー
そこを削除すると
Private Sub CommandButton1_Click がハイライトされて・・・多分、xlsx になるまで?
また、ActiveXのコマンドボタンを配置してあるシートごと削除しようとするとExcelが落ちます。
マイクロソフト セキュリティ情報 MS14-082 - 重要
Microsoft Office の脆弱性により、リモートでコードが実行される (3017349)
Office2007 → KB2596927
Office2010 → KB2553154
Office2013 → KB2726958
修正はいつかな?