Learn about microsoft office interop excel applicationclass, we have the largest and most updated microsoft office interop excel applicationclass information on alibabacloud.com
The interoperability type "Microsoft. Office. Interop. Excel. ApplicationClass" cannot be embedded ". Use the applicable interface, interop. excelSolution
Change the embedded interoperability type of Microsoft. Office. Interop. Excel. DLL to true.
When exporting the datagridview in winform, write the following statement:Microsoft. Office. InterOP. Excel. Application xlapp = new Microsoft. Office. InterOP. Excel. applicationclass ();
The result is as follows:
Type: Microsoft. Office. InterOP.
Use Microsoft. Office. Interop. Excel to convert web pages into PDF, interop. excel. dll
There are many ways to convert Web pages into PDF files on the Internet, and there are also many third-party plug-ins that charge fees. In fact, you can use the
The interoperability type "Microsoft. Office. InterOP. Excel. applicationclass" cannot be embedded ". Use the applicable interface instead.
When exporting the datagridview in winform, write the following statement:Microsoft. Office. InterOP. Excel.
From http://www.cnblogs.com/zxz414644665/archive/2010/08/06/1794430.html
C # There are about three or four Excel operations. Today I will paste one of them for later use.
Code
//////////////////////////////////////// ////////////////////////////////
Today, I wrote a tool for ELE. Me. I want to dynamically read the IP address and port number on Excel to change the proxy address of IE. Since I haven't written any Excel operation for a long time, I can only check my previous projects,
Reprinted: C # Office development,
Address: http://blog.sina.com.cn/s/blog_604fb7ae0100x2s7.html
The office automation system of small and medium-sized enterprises must have the function of connecting to Microsoft Office software, such as
C # Call the WORD processing instance Code (including excel ),
Recently, the program life (http://www.manong123.com) a friend asked me to help him to do a small function, in fact, is to save the content in the Word documents to the database, can
Recently, I found that some friends who use applicationclass do not know what to reference or reference dll will prompt some errors.
For example, error 1 cannot embed the interoperability type "Microsoft. Office. InterOP. Excel. applicationclass ".
This article from: http://www.cnblogs.com/zhaojunqi/archive/2009/04/23/1442124.html
Recently, vsto was used to create a small project. One of the requirements is to save many areas with formats in an Excel worksheet to a separate EXCEL file,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.