D
Drufazz
I work in a centre for people with disabilities and we have a problem
with students pressing the print button many multiples of times when
they go to do a print.
I did post a message a while back asking for any VBA that might be
able to limit printing, the only suggestion I got was to replace the
print button with the print dialog. This didn't really work and only
slowed it down a bit
I've been doing a bit of a search and come up with the following:
Public Sub FilePrint()
With Dialogs(wdDialogFilePrint)
If .Display = -1 Then
If .NumCopies > 1 Then
MsgBox "You cannot print more than 1 copy."
Else
.Execute
End If
End If
End With
End Sub
Unfortunately this only allows limiting of the number of copies
What I really need is some way of making the print button only work
once in say, 30 seconds or so...... enough time for the students to
see that something is coming out of the printer.
Is there any way in VBA that I could put a timer of sorts on the print
button ?
Cheers,
with students pressing the print button many multiples of times when
they go to do a print.
I did post a message a while back asking for any VBA that might be
able to limit printing, the only suggestion I got was to replace the
print button with the print dialog. This didn't really work and only
slowed it down a bit
I've been doing a bit of a search and come up with the following:
Public Sub FilePrint()
With Dialogs(wdDialogFilePrint)
If .Display = -1 Then
If .NumCopies > 1 Then
MsgBox "You cannot print more than 1 copy."
Else
.Execute
End If
End If
End With
End Sub
Unfortunately this only allows limiting of the number of copies
What I really need is some way of making the print button only work
once in say, 30 seconds or so...... enough time for the students to
see that something is coming out of the printer.
Is there any way in VBA that I could put a timer of sorts on the print
button ?
Cheers,