Solved

excell automation using c++

Posted on 2008-09-29
2
209 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Reading variable length EBCDIC in SAS 9 75
allStar challenge 1 41
White board coding practice 3 61
Modify a small python script 19 44
A short article about problems I had with the new location API and permissions in Marshmallow
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.
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 …

707 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

11 Experts available now in Live!

Get 1:1 Help Now