Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

OLE MS-Word

Former Member
0 Kudos
109

Hi:

Can someone help me with a sample program that will open an existing ms word file (on local pc ..c:\temp\testtemplate.doc) and modify/supply the value of a field.

I already have the program that will open and print the word document from a custom abap program. The MS word has a field defined in on of the paragraphs and I am looking for help in how to pass data to that field.

It is possible for me to have the template changed and use a macro or table cell if that is more appropriate.

I would greatly appreciate and reward. Thanks.

-Giri

2 REPLIES 2

Former Member
0 Kudos
62

Hi,

Try tcode DWDM.

Regards, Dieter

Search in this forum for OLE and MS-WORD lot of

Thread.

Regards, Dieter

Message was edited by:

Dieter Gröhn

0 Kudos
62

Hi, I have the program that does mostly what I needed. Open a local .doc file, print it.

I have also saw code that will insert the text I needed. However, I want to insert that text at a particular line (example 5th line on the 1st page).

Can someone help. thanks.

-Giri