English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

How can we automate Microsoft Excel using C++/CLI. Is "Adding refernce" the only way to do it? I wanted to write a generic wrapper class for this.

2007-01-09 16:35:55 · 2 answers · asked by hope_of_d_world 3 in Computers & Internet Programming & Design

2 answers

If you are thinking about inserting the reference into Excel object in your C++ project, then you can not access Excel object.

Did you tried the VBA of Excel?

It is simple, easy to learn

VBAXLMan

2007-01-09 21:54:50 · answer #1 · answered by Anonymous · 0 0

Turn on your macro recorder. Carefully execute all of the steps needed to do this. Then turn off your macro recorder. Done. To prove that it works, put the data back the way it was, and then simply run the macro you recorded. The steps will be done for you, automatically.

2016-05-23 02:05:05 · answer #2 · answered by Anonymous · 0 0

fedest.com, questions and answers