Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 05-25-2011, 03:50 AM
Catalin.B Catalin.B is offline vba Code to Print Spreadsheet to PDF Windows Vista vba Code to Print Spreadsheet to PDF Office 2007
Expert
 
Join Date: May 2011
Location: Iaşi, Romānia
Posts: 386
Catalin.B is on a distinguished road
Default

Or this, to print all selected sheets in 1 PDF file:
Sub ImprimaFoaieActivaPDF()
ActiveWindow.SelectedSheets.PrintOut
Application.ActivePrinter = "Adobe PDF din Ne02:"
ExecuteExcel4Macro "PRINT(1,,,1,,,,,,,,2,""Adobe PDF din Ne02:"",,TRUE,,FALSE)"

End Sub
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA Code to Print Individual Resource Lists to a pdf File OTPM Project 0 05-24-2011 12:21 PM
vba Code to Print Spreadsheet to PDF Creating a spreadsheet nickypatterson Excel 1 01-14-2010 03:21 PM
vba Code to Print Spreadsheet to PDF Looking for a specific spreadsheet DivideByZer0 Excel 3 11-10-2009 05:58 PM
vba Code to Print Spreadsheet to PDF Print preview and actual print do not match? anthrax19888 Word 1 10-12-2009 08:09 AM
vba Code to Print Spreadsheet to PDF Spreadsheet for words Rosie Office 3 06-15-2005 02:27 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:52 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft