Post the VBA code is executed I want the current excel screen is captured and send mail to particular user with Screenshot as attachment

Rohith1324

Board Regular
Joined
Feb 27, 2018
Messages
114
Hi,

Post the current VBA code is executed I want the current excel screen is captured ( screenshot ) and send mail to particular user without any other command button placed.

This screenshot shouldnt be saved anywhere in the system but should trigger the mail to specific user mail address.

Regards,
Rohith M
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
I have no idea if you can use vba to capture a screenshot. but if you can, you would have to make the code also push the keyboard combo "Ctrl+V" after opening am image editor like microsoft paint. I don't know any other way to send a screenshot to someone as an actual file. but you will certainly want to start your research here:

vba save screenshot to file - Google Search
 
Upvote 0
I have no idea if you can use vba to capture a screenshot. but if you can, you would have to make the code also push the keyboard combo "Ctrl+V" after opening am image editor like microsoft paint. I don't know any other way to send a screenshot to someone as an actual file. but you will certainly want to start your research here:

vba save screenshot to file - Google Search
Thank you for the info....but still I'm looking if any experts in message board help me with the code as i'm new to this coding.
 
Upvote 0

Forum statistics

Threads
1,214,981
Messages
6,122,566
Members
449,089
Latest member
Motoracer88

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top