Link to home
Start Free TrialLog in
Avatar of axnst2
axnst2Flag for United States of America

asked on

Reading/Writing from/to Excel from Visual C++.NET 2005

Hi Experts,

    I need to know how to open an existing Excel file, write data into it, format its looks and save it under another filename.  I need to do all of this from Visual C++.NET 2005.

Thanks,
axnst2
Avatar of axnst2
axnst2
Flag of United States of America image

ASKER

I do have MFC support..
Avatar of axnst2

ASKER

Is this a really hard question or is there just no one looking at this thread?
Avatar of AlexFM
AlexFM

I suggest you to ask in MFC area. This area is used mostly for questions specific to new VC++ 8.0 features like C++/CLI syntax.
Have a look at this: http://support.microsoft.com/kb/306686

It lets you call a macro from your application. That way you can do your writing and formatting in VBA.
ASKER CERTIFIED SOLUTION
Avatar of sreenathk
sreenathk
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial