Results 1 to 3 of 3
  1. #1

    ActiveDocument.PageSetup Produces error (Word 2000)

    <img src=/S/hairout.gif border=0 alt=hairout width=31 height=23> setting any pagesetup properties in VBA

    eg. activedocument.pagesetup.topmargin = inchestopoints(0.3)

    produces an run-time error 4608 Value out of range. This worked fine in '97. If I set properties section by section, oh it likes that fine, but not doing it for the whole document.

    Any ideas?

  2. #2
    Gold Lounger
    Join Date
    Feb 2001
    Dublin, Ireland, Republic of
    Thanked 0 Times in 0 Posts

    Re: ActiveDocument.PageSetup Produces error (Word 2000)

    That particular expression worked fine when I tried it in Word 2000. Are you running the code as part of a procedure , and if so could you post the enire code ?.

    Andrew C

  3. #3

    Re: ActiveDocument.PageSetup Produces error (Word 2000)

    Thanks Andrew - more testing found that I could run it too, except in specific documents with many sections, of all kinds. I ended up doing it section by section which worked for every document.

Posting Permissions

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