Solved

excell automation using c++

Posted on 2008-09-29
2
212 Views
Last Modified: 2013-12-14
How can I edit an excell cell (i.e. font size and color) using visual c++ not vb
0
Comment
Question by:ndenson
2 Comments
 
LVL 2

Expert Comment

by:maggc
ID: 22616379
0
 
LVL 6

Accepted Solution

by:
obrienslalom earned 500 total points
ID: 22799763
I'm not really sure what you are trying to do here, but if its possible to use the XML format of the workbook, the task won't be as hard.  Create a sample workbook, save it as a XML document and then open it up in notepad.  You will see the styles are relatively easy to create.
Then i suggest vba, because otherwise things are going to get more complicated.
Otherwise, there are COM objects out there that you can use.  I don't remember the details of them, but I'm pretty sure I used them at one point (likely from .net).  I tried a quick search, which wasn't what i expected.  Maybe they will help:
http://support.microsoft.com/kb/216686
http://support.microsoft.com/kb/308407
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now