ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Disable PrtScr (https://www.excelbanter.com/excel-programming/372082-disable-prtscr.html)

Francis Ang[_3_]

Disable PrtScr
 
Can the PrtScr be disabled using VBA code? Thanks.

NickHK

Disable PrtScr
 
I suspect you will need a system wide keyboard hook, as this is Windows
functionality and has no connection to Excel
http://vbnet.mvps.org/code/hooks/setwindowshookex.htm

NickHK

"Francis Ang" wrote in message
...
Can the PrtScr be disabled using VBA code? Thanks.




Francis Ang[_3_]

Disable PrtScr
 
Thanks a lot for your help, Nick.

"NickHK" wrote:

I suspect you will need a system wide keyboard hook, as this is Windows
functionality and has no connection to Excel
http://vbnet.mvps.org/code/hooks/setwindowshookex.htm

NickHK

"Francis Ang" wrote in message
...
Can the PrtScr be disabled using VBA code? Thanks.






All times are GMT +1. The time now is 02:03 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com