Have an amazing solution built in RAD Studio? Let us know. Looking for discounts? Visit our Special Offers page!
C++

Use the Excel.Application in C++Builder(bcc64)[JAPAN]

Author: Pixelot12345

How to use the Excel.Application in C++Builder. Target device is Win64.

Use the ComObj, call in CreateOleObject (“Excel.Application”).

Including ComObj is required.

In C++Builder it is below.

Import from CSV file to Excel file.

We will implement this process.

Prepare the TButton.

TButton is one in a simple form.

 

Next is the TButton OnClick event.

 

Sheet name is “Sheet 1”.

Next we will create two methods.

Read the file with TStringList.And, you write to the specified cell.

 

Write the imported CSV file to Excel.

 

 

 

See What's New in 12.2 Athens See What's New in 12.2 Athens Dev Days of Summer 2-24

Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.
Start Free Trial   Upgrade Today

   Free Delphi Community Edition   Free C++Builder Community Edition

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

IN THE ARTICLES