Insert table in middle of document using VB

D

Dean Slindee

Word 2003 and Visual Studio 2008 with VB:

I have created a document table in code and would like to insert it into a
specific location in the middle of an existing 80-page document.

Is this possible in code? I assume there would need to be some range or
marker in the document to define the target point.

Thanks in advance,
Dean Slindee
 
C

Cindy M.

Hi Dean,
Word 2003 and Visual Studio 2008 with VB:

I have created a document table in code and would like to insert it into a
specific location in the middle of an existing 80-page document.

Is this possible in code? I assume there would need to be some range or
marker in the document to define the target point.
Yes, you'd have to "know" where it should go. A Bookmark is one possibility.
Another would be if it immediately preceded or followed a special bit of text
that you could locate using Find.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
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