LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
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.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Send email from excel to notes - save email in sent folder Boss Excel Programming 0 March 15th 10 01:52 PM
Code to automatically email when xls file is save? sherifffruitfly Excel Programming 3 January 20th 09 09:53 AM
Need a code to print and save file as Ron de Bruin Excel Programming 4 January 9th 07 08:42 PM
Totally Disabling (^ save ) (Save as) and Save Icon Which code do I use: harpscardiff[_10_] Excel Programming 8 November 10th 05 12:24 PM
Save, Save As, Print Grayed Out when instance created via VBA/VB6 Jake Marx[_2_] Excel Programming 0 September 22nd 03 10:16 PM


All times are GMT +1. The time now is 09:17 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright 2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"