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.
StanChartAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Amritpal SinghCommented:
hi,
for pagination ,i think the MFC sample in the following link shud help
have a look

http://support.microsoft.com/kb/q293861/
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
System Programming

From novice to tech pro — start learning today.

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.