Macro Hangs When Table Row Crosses Page Boundary

B

Barry

Greetings:

I have a set of macros which walks through the active document, inserting
ActiveX control objects into table cells based on keword commands placed in
the cell by the user. The macro works as expected, unless table row in which
the command resides crosses a page boundary. If a page boundary ias crossed,
the macro hangs with a message saying that the application which creates the
control is missing.


This is not a problem when creating new documents, as I can ensure that
table rows fit on a single page. But we have a large archive of existing
documents with table rows which are larger than a single page. The time
necessary to reformat these legacy documents is prohibitive.

Has anyone else had problems working with table rows that cross page
boundaries? If so, did you find away to eliminate or work around the problem?

Thans in advance for any heop provided.
 
D

Doug Robbins - Word MVP

Does the problem still occur if the view is set to Normal (or in Word 2007 -
Draft view)?

Another thing that you could do is include code in the macro to set the rows
of the table so that they did not break across pages.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 

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