Click here to Skip to main content
15,881,588 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I would like to know if there is any way to automatically sent the screenshot to excel and save it there when printscreen is pressed.

What I have tried:

I saved it as png in picture folder and using VBA pulled all into Excel. But I would like for it to go directly into Excel
Posted
Updated 4-Apr-20 8:34am
Comments
Afzaal Ahmad Zeeshan 28-Mar-20 17:12pm    
Yes, it is possible.

You just need to write a Prt Scr handler and then write the code to save the graphics as an image in Excel.

Try this tool for the handler part, https://www.autohotkey.com/, and then write your code to save a file in Excel.
Maciej Los 4-Apr-20 14:14pm    
Sounds like an answer.

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900