#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 117
Default Printing code

I am trying to set up a printing macro. I currently have connected to a
command button setup to print. When i hit my command button I have an input
box that asks me how many copies to print. However I have no choice to which
printer that I want to select, it goes to my default printer. Any ideas how I
could also add the choice of which printer to select within my input box or
to use something else besides an inout box?

thanks,

Jase
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Printing code

Add this line of code allowing the user to select their printer...

Application.Dialogs(xlDialogPrinterSetup).Show
--
HTH...

Jim Thomlinson


"Jase" wrote:

I am trying to set up a printing macro. I currently have connected to a
command button setup to print. When i hit my command button I have an input
box that asks me how many copies to print. However I have no choice to which
printer that I want to select, it goes to my default printer. Any ideas how I
could also add the choice of which printer to select within my input box or
to use something else besides an inout box?

thanks,

Jase

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 117
Default Printing code

That is exactly what I am looking for, thanks.

Jase

"Jim Thomlinson" wrote:

Add this line of code allowing the user to select their printer...

Application.Dialogs(xlDialogPrinterSetup).Show
--
HTH...

Jim Thomlinson


"Jase" wrote:

I am trying to set up a printing macro. I currently have connected to a
command button setup to print. When i hit my command button I have an input
box that asks me how many copies to print. However I have no choice to which
printer that I want to select, it goes to my default printer. Any ideas how I
could also add the choice of which printer to select within my input box or
to use something else besides an inout box?

thanks,

Jase

Reply
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
Drop Down/List w/Code and Definition, only code entered when selec Spiritdancer Excel Worksheet Functions 2 November 2nd 07 03:57 AM
How to stop printing the VB Code Result Nadeem Excel Discussion (Misc queries) 0 January 17th 07 06:52 PM
Printing labels on a dot matrix printer - what does this code do Laurence Lombard Excel Discussion (Misc queries) 2 June 19th 06 06:15 AM
Printing labels on a dot matrix printer - what does this code do Laurence Lombard Excel Discussion (Misc queries) 0 June 16th 06 07:18 AM
Printing a Pivot Table from code - Excel 2003 Newbie Excel Discussion (Misc queries) 4 January 5th 05 04:10 PM


All times are GMT +1. The time now is 05:42 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"