The above article has been mentioned in the release of Excel objects that we established.
The address of the previous article is: http://blog.9cbs.net/lujianxy/archive/2005/04/20/355204.aspx
Those are more displayed
I found a new problem in my use today.
That is, I used the Range FONT attribute when I was working on Range.
The font attribute is a new object in the Excel class (interface)
So the problem is that after changing the size attribute of the font.
The Excel.exe process in the memory cannot be released.
After research, I found a solution to the solution.
That is, we build a private font object M_Font it yourself.
Then attach the RANGE FONT attribute to our m_font object
After the operation, we can release your own M_Font object. .
System.Runtime.InteropServices.Marshal.releaseComobject (m_font);