PageSetup dialog applyPropsTo Whole document in Office xp?

B

Birgit

Hi all!
In a multi-section document I experience problems with the following macro
in Office XP. It does not set the "apply to" to "entire document". I
experience no problems on Office 2003.

Is this a known bug or is it the installation I'm working on (Office XP -
dutch - all service releases). (Looked around on MSDN but did not find
anything strange mentioned about ApplyPropsTo

Sub PrinterSettings()
With Application.Dialogs(wdDialogFilePageSetup)
.DefaultTab = wdDialogFilePageSetupTabPaperSource
.ApplyPropsTo = 4 'whole document 'seems not to work in Office XP!
.Show
End With
End Sub

Tx, Birgit
 
Top