Opening Word programatically

H

HSalim[MVP]

Hi
I have this idea of implementing what I think is a cool solution to a
problem. I am working with a VB form and want to launch a mail-merge for
one document.

I want to be able to give users a word template with a few pre-defined
fields
For example customerid, CustomerName, address1,....Fieldnnn.

Each User create his/her own mail-merge type "main" document and embed
one or more of the fields available to them. when done, they save it to a
predefined location. That is all they need to do for Setup

To print these documents:
I have a form - say an order form with a combobox listing available
documents.
user selects appropriate letter/document and hits a print button, and
it opens the word doc, passes in the required fields as parameters, prints
the document and returns control to the form.

This approach, if it is viable, allows
- Each users can format the letter as they want (They still have to follow
some guidelines)
- me to support their letter almost as soon as it is ready. ( I only have to
update the list of available reports. This too can be punted to the user in
the next step.)

So, how can I launch a word letter with parameters, and what sort of fields
would I use to support this?

Regards and seasons greeting to all
Habib
 
J

Jezebel

Why not have a look at any of the squillion mailling list apps already
around and see how other people have done it?
 
H

HSalim[MVP]

Thanks for the suggestion. any suggestions on a where I might find
something?
Regards
HS
ps. I like your pseudo email address



: Why not have a look at any of the squillion mailling list apps already
: around and see how other people have done it?
:
:
:
: : > Hi
: > I have this idea of implementing what I think is a cool solution to a
: > problem. I am working with a VB form and want to launch a mail-merge
for
: > one document.
: >
: > I want to be able to give users a word template with a few pre-defined
: > fields
: > For example customerid, CustomerName, address1,....Fieldnnn.
: >
: > Each User create his/her own mail-merge type "main" document and embed
: > one or more of the fields available to them. when done, they save it to
a
: > predefined location. That is all they need to do for Setup
: >
: > To print these documents:
: > I have a form - say an order form with a combobox listing available
: > documents.
: > user selects appropriate letter/document and hits a print button, and
: > it opens the word doc, passes in the required fields as parameters,
prints
: > the document and returns control to the form.
: >
: > This approach, if it is viable, allows
: > - Each users can format the letter as they want (They still have to
follow
: > some guidelines)
: > - me to support their letter almost as soon as it is ready. ( I only
have
: > to
: > update the list of available reports. This too can be punted to the
user
: > in
: > the next step.)
: >
: > So, how can I launch a word letter with parameters, and what sort of
: > fields
: > would I use to support this?
: >
: > Regards and seasons greeting to all
: > Habib
: >
: >
:
:
 
J

Jezebel

Well for a really off-the-wall thought, you could maybe, just maybe, toy
with the vague idea of considering the remote possibility of contemplating
something wierd like Google.
 
H

HSalim[MVP]

Oh yes, of course.
Thank you.
HS

: Well for a really off-the-wall thought, you could maybe, just maybe, toy
: with the vague idea of considering the remote possibility of contemplating
: something wierd like Google.
:
:
:
:
: : > Thanks for the suggestion. any suggestions on a where I might find
: > something?
: > Regards
: > HS
: > ps. I like your pseudo email address
: >
: >
: >
: > : > : Why not have a look at any of the squillion mailling list apps already
: > : around and see how other people have done it?
: > :
: > :
: > :
: > : : > : > Hi
: > : > I have this idea of implementing what I think is a cool solution to
a
: > : > problem. I am working with a VB form and want to launch a
mail-merge
: > for
: > : > one document.
: > : >
: > : > I want to be able to give users a word template with a few
pre-defined
: > : > fields
: > : > For example customerid, CustomerName, address1,....Fieldnnn.
: > : >
: > : > Each User create his/her own mail-merge type "main" document and
embed
: > : > one or more of the fields available to them. when done, they save
it
: > to
: > a
: > : > predefined location. That is all they need to do for Setup
: > : >
: > : > To print these documents:
: > : > I have a form - say an order form with a combobox listing available
: > : > documents.
: > : > user selects appropriate letter/document and hits a print button,
and
: > : > it opens the word doc, passes in the required fields as parameters,
: > prints
: > : > the document and returns control to the form.
: > : >
: > : > This approach, if it is viable, allows
: > : > - Each users can format the letter as they want (They still have to
: > follow
: > : > some guidelines)
: > : > - me to support their letter almost as soon as it is ready. ( I only
: > have
: > : > to
: > : > update the list of available reports. This too can be punted to the
: > user
: > : > in
: > : > the next step.)
: > : >
: > : > So, how can I launch a word letter with parameters, and what sort of
: > : > fields
: > : > would I use to support this?
: > : >
: > : > Regards and seasons greeting to all
: > : > Habib
: > : >
: > : >
: > :
: > :
: >
: >
:
:
 

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