PC Review


Reply
Thread Tools Rate Thread

Changing The "Printing Sheets Per Page" In VBA?

 
 
Andy
Guest
Posts: n/a
 
      17th Sep 2008
Hi Gang

I have expense reporting application that I force users to click a
button to print the form. It does some validation and then prints the
sheet(s). I've disabled the File, Print.. functions as I want them to
click the button and do the validation first before printing.

Anyway... I have a user that has set his printer to print 2 pages or
sheets per piece of paper. The problem is when he prints his expenses
they come out too small for his liking. He does not want to change
his printer setting of having 2 pages print per sheet of paper.

Can I override this in VBA? I haven't been able to find a setting for
"pages per sheet". Can anyone help?

Thanks
Andy
 
Reply With Quote
 
 
 
 
RyanH
Guest
Posts: n/a
 
      17th Sep 2008
You could use the PrintOut Method for Worksheets. You could use
Sheets("Sheet1").PrintOut (list how you want the arguements here). Look at
the Worksheets PrintOut Method help section to specify the arguements you
want.

Hope this helps! If so, let me know or just click "Yes" below.
--
Cheers,
Ryan


"Andy" wrote:

> Hi Gang
>
> I have expense reporting application that I force users to click a
> button to print the form. It does some validation and then prints the
> sheet(s). I've disabled the File, Print.. functions as I want them to
> click the button and do the validation first before printing.
>
> Anyway... I have a user that has set his printer to print 2 pages or
> sheets per piece of paper. The problem is when he prints his expenses
> they come out too small for his liking. He does not want to change
> his printer setting of having 2 pages print per sheet of paper.
>
> Can I override this in VBA? I haven't been able to find a setting for
> "pages per sheet". Can anyone help?
>
> Thanks
> Andy
>

 
Reply With Quote
 
TomPl
Guest
Posts: n/a
 
      17th Sep 2008
What you have described is a printer setting, not part of the worksheet page
setup. I believe that overrideing the printer setting with VBA is not
possible.

Tom
 
Reply With Quote
 
Andy
Guest
Posts: n/a
 
      18th Sep 2008
On Sep 17, 5:11*pm, TomPl <To...@discussions.microsoft.com> wrote:
> What you have described is a printer setting, not part of the worksheet page
> setup. *I believe that overrideing the printer setting with VBA is not
> possible.
>
> Tom


Thanks Tom. I think you're right.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing an 11" x 17" page on 2 letter-size sheets JBA Microsoft Word Document Management 1 2nd Aug 2008 11:44 PM
Printing Selected worksheets but exclude the sheet "Sheets" Dolphinv4 Microsoft Excel Misc 1 3rd Jan 2008 12:13 PM
how can one disable (or click "yes" through automate VB) when printing in MS Word and getting "The margins of section 1 are set outside the printable area of the page" Joe Microsoft VB .NET 0 14th Jun 2007 10:43 PM
"Outlook 2003 - Calendar Homepage keeps changing to "POPNAV.COM" page. =?Utf-8?B?RFQ=?= Microsoft Outlook Discussion 2 2nd Feb 2004 03:01 AM
Cookies will not enable even after changing settings for "Security" and "Privacy" tabs in "Internet Options", any suggestions? =?Utf-8?B?dGlhbmltaA==?= Windows XP Help 2 27th Jan 2004 12:46 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:11 AM.