Automation: How can I add a graph at a particular location in a Word document?

Hi All,

Before I begin, I would like to say that I am new to automation.  I have done some research and figured out how to write to a word document, find/replace text in a word document, etc.  I would now like to find out how to do a couple of things and I would appreciate any help and examples I can get on this subject.

What I am trying to accomplish is the following:
(1) Find text in a document and insert a graph after that text.  My tag is "<<<GRAPH>>>".  Even just showing me how to insert a graph with specified points in a document will be sufficient.
(2) Insert a page break after a particular line in a document. eg. Line 20 on page 4.

Thanks for your help.
Who is Participating?
Amritpal SinghConnect With a Mentor Commented:
for pagination ,i think the MFC sample in the following link shud help
have a look
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.