Hi Walter,
Yes, I recongize this. For some reason, Word isn't able to
set page settings for the ActiveDocument when the file is
very large (contains lots of sections). I believe there's
even a number (like 64 or 128 or something) where this kicks
in.
The solution is to use this kind of construction:
For each sec in ActiveDocument.Sections
sec.PageSetup
Next
> In Office XP, after a mailmerge with a large text-file
> (1Mb) I cannot do anything (from Macro-code) in the new
[quoted text clipped - 11 lines]
> smaller MailMerge return the right values and I can set
> them to other values.
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep
30 2003)
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
:-)
Hi Cindy,
Your reply really helped me! Thanx!!!
Come to thing of it, my destination file has indeed a lot
of sections. My problem is fixed.
Thanx once again!
Bye,
Walter.
>-----Original Message-----
>Hi Walter,
[quoted text clipped - 37 lines]
>
>.