Interoperability

T

Tim

I ain't real sure this is the place for this but I will ask anyway.
I have to place numerous word documents on a server. A user goes through a
selection process and decides what documents he or she want's. I have to
create a master document and then add all the other selected documents to
the master word doc in a specific order. To top this off I have to capture
some numbers that are entered in the word documents and fill out an excel
spreadsheet and do the math on the numbers.

I am using VB.NET. Can anyone give me an idea how I can accomplish this.
I know its abit complex but I would appreciate any insight anyone might
have.

Thanks
Tim
 
C

Cindy M -WordMVP-

Hi Tim,

I'm not really sure where to start with you :) If you're programming in .NET
you're not a programming beginner. That means you simply have no idea about
Word's object model?

A good place to get a start with a Word project is to record a set of actions
(to accomplish on piece of the puzzle) in a macro. You usually can't use the
code "as is", but it will give you an idea which objects, methods and
properties you need to look up in the Help files, and a general idea of the
syntax. This should get you started on the part of creating a Master Document.
(Note: I assume you've been told to use this feature, and that the person
demanding it is aware of its foibles and drawbacks.)

I'd use .NET for the file selection process, we shouldn't need to help you
there...

As for extracting the information from the Word document, you'd need to have a
way to identify that information. We can't help you with that, although once
you know how to identify it, we can probably give you some ideas on how to
access it via the OM.
I have to place numerous word documents on a server. A user goes through a
selection process and decides what documents he or she want's. I have to
create a master document and then add all the other selected documents to
the master word doc in a specific order. To top this off I have to capture
some numbers that are entered in the word documents and fill out an excel
spreadsheet and do the math on the numbers.

I am using VB.NET. Can anyone give me an idea how I can accomplish this.
I know its abit complex but I would appreciate any insight anyone might
have.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 

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

Top