Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-09-2012, 12:05 AM
macropod's Avatar
macropod macropod is offline Can i print and make pdf at a time Windows 7 64bit Can i print and make pdf at a time Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,343
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

You could do that with a macro like:


Code:
Sub Demo()
ActiveSheet.PrintOut
ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:=Split(ActiveWorkbook.Name, ".")(0)
End Sub
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #2  
Old 06-09-2012, 12:29 AM
gsrikanth gsrikanth is offline Can i print and make pdf at a time Windows XP Can i print and make pdf at a time Office XP
Competent Performer
Can i print and make pdf at a time
 
Join Date: Dec 2011
Posts: 133
gsrikanth is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
You could do that with a macro like:
Code:
Sub Demo()
ActiveSheet.PrintOut
ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:=Split(ActiveWorkbook.Name, ".")(0)
End Sub
print is comming
but pdf not preparing
where is the path of pdf will store?
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
IE Object: Run-time problem (the link is not clicked in run-time but not in step-in tinfanide Excel Programming 1 03-04-2012 12:05 AM
Possible: Make default print one page? lone road Excel 0 01-10-2012 09:47 PM
Can i print and make pdf at a time Why the print preview is different from the editing view when we use the “make Entry” Jamal NUMAN Word 2 01-06-2011 02:44 PM
how to make the task starts next day if no time enough today(task can not be split) duraid Project 1 10-25-2010 08:31 AM
Can i print and make pdf at a time First Time Poster (How to make table of contents into Links) enderzshadow Word 2 02-21-2010 07:22 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:04 PM.


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