About vs C + + operations Excel (close Excel file hints are saved, early formulas ...) )

Source: Internet
Author: User

A recent project needs to manipulate EXCEL.

The principle can be borrowed from the following blog:

Http://blog.sina.com.cn/s/blog_6163bdeb0102dxcy.html

I used the most commonly used OLE automation method, which suggested that you read the documentation carefully and provide more functionality.

Then in the design encountered a problem, open Excel, exit after the prompt "whether to save the ...." Changes, Microsfot Excel recalculates the formula when you open the file that was last saved by an earlier version of Excel "

Then the project this file is the 2003 version of the old file, and my computer is already 2013, open it after reading the data and then close, to read 10 files, every time asked me to save, it is not bored to death.

Excel_example. Setshowalert (false);

Just set it up and you're ready.

About vs C + + operations Excel (close Excel file hints are saved, early formulas ...) )

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.