M
Maz
Hi,
I want to display the built in Word dialog (wdDialogFilePrintSetup) via code.
One of the arguments it takes is Options (see here
http://msdn.microsoft.com/en-us/library/aa211930(office.11).aspx)
But when I display the dialog the Options button at the bottom left hand
corner of the dialog is always grayed out, regardless of what I set the
Options property to. However, if I manually add this Word command (Tools,
Customize, Commands tab, File) the Options button is displayed!
How can I get the Options button enabled via code please?
Sub X()
With Dialogs(wdDialogFilePrintSetup)
..Options = 1 // if used, Option button disabled.
..Options = True // if used, Option button disabled.
..Show
End With
End Sub
I want to display the built in Word dialog (wdDialogFilePrintSetup) via code.
One of the arguments it takes is Options (see here
http://msdn.microsoft.com/en-us/library/aa211930(office.11).aspx)
But when I display the dialog the Options button at the bottom left hand
corner of the dialog is always grayed out, regardless of what I set the
Options property to. However, if I manually add this Word command (Tools,
Customize, Commands tab, File) the Options button is displayed!
How can I get the Options button enabled via code please?
Sub X()
With Dialogs(wdDialogFilePrintSetup)
..Options = 1 // if used, Option button disabled.
..Options = True // if used, Option button disabled.
..Show
End With
End Sub