Excel VBA for Emailing Activesheet as Range w/ options to adjust picture size in the VBA

menor59

Well-known Member
Joined
Oct 3, 2008
Messages
574
Office Version
  1. 2021
Platform
  1. Windows
Hello all.

I am Using Excel 2021

So i have a Workbook that has 50-60 Sheets, Each sheet is protected without a password...I need to Email Range D2:K60 as a JPG from the active sheet but try to keep the sizing as is...

if possible in the VBA vertical and horizontal sizing of the picture..
or maybe
Select rows D3:K and double click between columns to keep the size minimal...IDK..

AS the Macro Runs, a combo box that says Do you Want to Email Santa Clause?

if YES...Proceeded Below, but add santaclause@northpole.com as a reciepent..

IF NO...Proceed below..

a Canned Subject of the email :

This is D3 worksheet send "today with todays date and time in mmm/dd/yyyy hh:mm AM/PM" sent via "windows Username".

and a Canned Body of the email..

blah blah, yada, yada...



Here is a Sample of the headers and body:

Email.jpg


Thank you all!!
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.

Forum statistics

Threads
1,215,047
Messages
6,122,858
Members
449,096
Latest member
Erald

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