Results 1 to 2 of 2
  1. #1
    New Lounger
    Join Date
    May 2002
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Preventing repagination (Word 97)

    Is it possible to prevent Word repaginating while running macro code? I have a template that inserts several documents, then performs a number of search/replace actions. Despite having the macro set Options.Repagination = False when it first starts running the document seems to repaginate each time a document is inserted. On my Pentium 200 PC with a 30 page document this seems to take a considerable amount of time!!!

  2. #2
    Super Moderator
    Join Date
    Dec 2000
    Location
    New York, NY
    Posts
    2,970
    Thanks
    3
    Thanked 29 Times in 27 Posts

    Re: Preventing repagination (Word 97)

    Don't know if this will help, but you could try setting the document's view type to Normal:

    ActiveWindow.View.Type = wdNormalView

    Before doing the inserts and searches.

    Gary

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •