Word 2000
I have a macro project where I intercept the built-in Word printing
functions using FilePrint and FilePrintDefault routines. However, documents
can also be printed using Ctrl+Shift+F12, which is NOT intercepted by either
routine. Is there a way to intercept Ctrl+Shift+F12?
-- Tom
State of Montana
Department of Justice Help Desk
"Making the world a safer place."
Helmut Weber - 16 Dec 2004 08:29 GMT
Hi,
can't think of a direct way,
but you could de-assign Ctrl+Shift+F12
from calling the dialog wdDialogFilePrint
and assign it to a macro of yours,
or assign it to nothing, if you like.
Greetings from Bavaria, Germany
Helmut Weber, MVP
"red.sys" & chr(64) & "t-online.de"
Word 2002, Windows 2000
Montana DOJ Help Desk - 17 Dec 2004 00:38 GMT
I didn't think of just removing the assignment. That'll work, because I
doubt anyone uses that shortcut for printing, and there are a number of
other ways to print the document.
-- Tom
State of Montana
Department of Justice Help Desk
"Making the world a safer place."
> Hi,
>
[quoted text clipped - 8 lines]
> "red.sys" & chr(64) & "t-online.de"
> Word 2002, Windows 2000
Jean-Guy Marcil - 16 Dec 2004 15:26 GMT
Montana DOJ Help Desk was telling us:
Montana DOJ Help Desk nous racontait que :
> Word 2000
>
[quoted text clipped - 8 lines]
> State of Montana
> Department of Justice Help Desk
Very strange. CTRL-SHIFT-F12 is just a shortcut that calls Word's FilePrint
command.
I have just tried on Word97, Word 2002 and Word 2003. In all cases, my
FilePrint macro is called whenever I do CTRL-SHIFT-F12.
I do not have Wordd 2000 installed yet on my machine... Will get around to
it sometime... I never liked Word 2000... maybe this little bug, if it is
confirmed by others, will be one more reason!

Signature
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org