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

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.




Coding Boot Camp

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

Related posts

2021 Annual C++ Developer Survey "Lite" by ISOCpp.org - Results summary


LearnCPlusPlus.org :: Sort Text, Paste A Matrix To Excel, Use Optional, Parallel Tasks And More In Windows C++ Apps


Quickly Build C++ Builder Application And Connect To Microsoft Excel Using ADO

C++DelphiRAD Studio

Automate Excel and Word Directly From Delphi Using Office Component Suite

Leave a Reply

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