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 3 years have passed since last update.

Excel 2016のアイコンを取得する

Posted at

結果

アイコンはC:\Program Files (x86)\Microsoft Office\root\Office16\XLICONS.EXEから取得可能。

取得に使ったソフトはIcon Ripper(Vectorのページ)

背景

エクセルファイルを開く際に、色々処理をしてから(開く前に特定のフォルダにバックアップコピー)開くようにしたい。
というリクエストに答えるためになんやかんやプログラムを作成することに。

通常は、
foo.xlsxをダブルクリック → Excel.exe起動

のところを
foo.xlsxをダブルクリック → 事前処理プログラムを起動 → 内部でExcel.exeを起動

というように挟む。

.xlsxの関連付けを事前処理プログラムに通すことになるが、アイコンが変わると戸惑ってしまうので、エクセルアイコンはそのままにしたい。
じゃあ、エクセルのアイコンファイルを探そうということになったことがきっかけ。

ググってもなかなか出てこなかったので、書き残しておく。

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?