office automation help please

E

electrixnow

I need some help on automation for office. I found some code I want to
use, it looks like this:

Variant wordTables = wordActiveDocument.OlePropertyGet( "Tables" );
long table_count = wordTables.OlePropertyGet( "count" );

There is more, it deals with OBJECTS. I have installed Visual C++ and
the Platform SDK for VC++. it all was free. I wrote a VC++ program that
needs to update bookmarks in a MS Word doc, and then print it. I must
do all of this without showing the GUI of MS Word. I posted before and
have had suggestions to use code samples from www.codeproject.com but
have not found any for VC++.

I tried some of the code but did'nt have the correct libraries.

Does anyone know how to use VC++ to accomplish these automation tasks.

Please Help!

Thanks in advance,

Grant.

PS If I need another development package, let me know what it is.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,736
Latest member
AdolphBig6

Latest Threads

Top