Macro to Save & Send File

thebaran2

New Member
Joined
Mar 18, 2013
Messages
2
I normally can find what I am looking for in these forums, but this one has me stumped. I need to create a macro to save & send a file in excel 2010. When creating my macros to date I haven't used vba. Here is what I am looking to do:

1. Create a PDF of Cells A1:K16 and create the e-mail
2. If possibly have the Subject of the e-mail read: C1&" "&C2&" "& Cost Tracking

I do not want the e-mail to send, just generate the pdf and e-mail.

1. The only way I can do this manually is to hide all rows under row K, about 100 rows.
2. Go to file, save & send, send PDF

This generates the e-mail, but not the subject, and the rows are still hidden. Ideally when complete the rows would not be hidden, and the e-mail would be generated on the screen.

Any help would be appreciated. When I try to create the macro myself I have no way of ending the sequence as it won't let me end it with the generated e-mail still on my screen.
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
I normally can find what I am looking for in these forums, but this one has me stumped. I need to create a macro to save & send a file in excel 2010. When creating my macros to date I haven't used vba. Here is what I am looking to do:

1. Create a PDF of Cells A1:K16 and create the e-mail
2. If possibly have the Subject of the e-mail read: C1&" "&C2&" "& Cost Tracking

I do not want the e-mail to send, just generate the pdf and e-mail.

1. The only way I can do this manually is to hide all rows under row K, about 100 rows.
2. Go to file, save & send, send PDF

This generates the e-mail, but not the subject, and the rows are still hidden. Ideally when complete the rows would not be hidden, and the e-mail would be generated on the screen.

Any help would be appreciated. When I try to create the macro myself I have no way of ending the sequence as it won't let me end it with the generated e-mail still on my screen.

Bump. Is this even possible? If so how would you go about doing it? It won't let me just record the Macro.
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,912
Members
452,366
Latest member
TePunaBloke

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