Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Word Macro - Navigating Multiple Tables

Status
Not open for further replies.

denmark42

Programmer
Oct 5, 2001
5
US
I am currently building an application that creates a word document as its target for data that is collected. This data must be put in tables on the form. I have found no clean way to navigate from one table to another. originally I tried using..

ActiveWindow.ActivePane.View.SeekView = wdSeekMainDocument

in an attempt to exit the current table before creating the next table, this unfortunatly seems to do nothing. Then I tried...

Selection.InsertBreak Type:=wdColumnBreak

this was more successful as it did exit the current table, but it puts additional table cells (garbage) at the end of the document on an added page. Has anyone found a way to do this? I have tried getting the macro recorder in word to create the code without success.

Thank you,

Mark Needham
Sr. Software Developer
Orange County's United Way

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top