Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
Visual Basic Forum for Visual Basic Programmers VB Forum Index » Visual Basic for Applications

Post new topic   Reply to topic
Default Printer Selection to PDF995
View previous topic :: View next topic  
Author Message
toddswint
Newbie


Joined: 13 Apr 2006
Posts: 4

PostPosted: Apr 13th, 2006 09:22 PM    Post subject: Default Printer Selection to PDF995 Reply with quote

Hello,

I am trying to set up a command button on "sheet A" to automatically generate a PDF of sheet "Contract (Client)".

I'm using PDF995 and to do this manually requires clicking print, selecting pdf995 from the printer selection combo in the "Print" dialogue window and then clicking OK.

PROBLEM: I don't know how to write the code in the following procedure to default the printer selection to PDF995.

Any Ideas?

Sub PDF_Client_Contract()
'
' PDF_Client_Contract Macro
' Macro recorded 4/13/2006 by ASPAdmin
'
Sheets("Contract (CLIENT)").Visible = True
Sheets("Contract (CLIENT)").PrintOut Copies:=1, Collate:=True
Sheets("Contract (CLIENT)").Visible = False
Sheets("INPUT - CLIENT").Select
End Sub

Thanks in advance. You guys are geniouses!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Visual Basic Forum for Visual Basic Programmers VB Forum Index » Visual Basic for Applications All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Visual Basic Forum runs phpBB | Forum Template © iOptional
VB Resources | SSL | Visual Basic