Solved

excell automation using c++

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

This is an explanation of a simple data model to help parse a JSON feed
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…
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 …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

770 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