Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

excell automation using c++

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

A short article about a problem I had getting the GPS LocationListener working.
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

860 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