I have been trying to finalize a document by running a macro to "cleanup"
page setup values. I want to havea header setup in the end of InchesToPoints
(.38). The document page setup is with A4 paper sizing. The code that is
giving me the run-time error is:

docWd.PageSetup.HeaderDistance = InchesToPoints(0.38)

when I get to that point in the code and hover, the value is 84.95 on the
left-hand side. Does anyone have any ideas?

Thanks.

Re: Run-Time Error 4608 by Word

Word
Thu Jul 21 19:37:36 CDT 2005

G'day "Eatwell" <Eatwell@discussions.microsoft.com>,

Bizzare. There are 72 points to an inch, so you are getting twips
reported or something else.

Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice


Eatwell reckoned:

>I have been trying to finalize a document by running a macro to "cleanup"
>page setup values. I want to havea header setup in the end of InchesToPoints
>(.38). The document page setup is with A4 paper sizing. The code that is
>giving me the run-time error is:
>
>docWd.PageSetup.HeaderDistance = InchesToPoints(0.38)
>
>when I get to that point in the code and hover, the value is 84.95 on the
>left-hand side. Does anyone have any ideas?
>
>Thanks.