PDA

View Full Version : Word Macro causing overflow



axiomcrs
07-22-2013, 10:25 AM
This macro appends several Word documents and then searches for names and then creates an index. I am trying to figure out why when I comment out a line in the Selection section with Index in it, that it causes an overflow. The Index title text is added to the document and then the names are added on the next page. I would like the names to immediately follow the title Index. If I delete the add a page line it causes an overflow.
How come when I add the code its formatting gets changed?

fumei
07-22-2013, 07:03 PM
Huh. Does this refer to some other thread? If so, please stick to that thread. This post does not help at all.