0
0

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.

VB.NET Excelのプロセスが残る…

Posted at

開放は順序が重要!

親子関係は上から順に、Application→Workbooks→Workbook→Sheets→Worksheet→Rangeとなっているので、開放はこの逆に行う。その際、WorkbookはCloseし、ApplicationはQuitする。

※Cellsは、どのタイミングで開放するか不明
Rangeの前に開放したら、プロセスが残りました。

開放しても、プロセスが残る場合等もあるらしいです。
Excel嫌いになりそう…😢

参考サイト
https://diy-kagu.hatenablog.com/entry/2018/03/17/122736

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?