Hi I'm using the following code:
Dim oDlg As Dialog
Set oDlg = Dialogs(wdDialogFilePrint)
With oDlg
.Show
iNoCopies = .numcopies
End With
Set oDlg = Nothing
to allow a user to print a document. What I want is to capture the number of copies of a document, but when I use .show, .numcopies is always 1. If I use .display however, numcopies has the correct value, but the document does not print. I'd be grateful if anyone could help me capture the info I need and print the document.
Many thanks
Simon
Dim oDlg As Dialog
Set oDlg = Dialogs(wdDialogFilePrint)
With oDlg
.Show
iNoCopies = .numcopies
End With
Set oDlg = Nothing
to allow a user to print a document. What I want is to capture the number of copies of a document, but when I use .show, .numcopies is always 1. If I use .display however, numcopies has the correct value, but the document does not print. I'd be grateful if anyone could help me capture the info I need and print the document.
Many thanks
Simon