View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Paul Doucette Paul Doucette is offline
external usenet poster
 
Posts: 40
Default Print, Save as PDF, Email PDF code

I am looking to assign vba code to a command button which will do the following:

1) Print worksheet €śQuote€ť and worksheet €śSheet1€ť to my default printer.
2) Save worksheet €śQuote€ť as a PDF to the folder €śR:\emailed quotes\€ť, giving it a file name taken from cell: Sheets("Quote").Range("M1").

If possible, I would also like to then attach that pdf to a new email. I am using Outlook and Excel 2010.

Thanks in advance, I hope someone sees this as possible, I havent had much luck so far.

Thanks, Paul
-accidentally posted this to microsoft.public.mac.office.excel earlier.