If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
HELP: print macro woes :S
I find that the 'print' macro immediately calls the default printer in EXCEL
but it opens the Printer selection dialog window in WORD. How can one stop the PRINT button from selecting the default printer? Surely, it can open the Printer selection window? |
#2
|
|||
|
|||
HELP: print macro woes :S
Hey Kevin! I know it is a week later, but have you thought of selecting
File-Print through a macro that you create? This will surely take care of your problem... "KevinGPO" wrote: I find that the 'print' macro immediately calls the default printer in EXCEL but it opens the Printer selection dialog window in WORD. How can one stop the PRINT button from selecting the default printer? Surely, it can open the Printer selection window? |
#3
|
|||
|
|||
HELP: print macro woes :S
Yep. Tried that thanks. Nothing gets recorded in the macro. It could be
something me doing not right. :S "tfoster" wrote in message ... Hey Kevin! I know it is a week later, but have you thought of selecting File-Print through a macro that you create? This will surely take care of your problem... "KevinGPO" wrote: I find that the 'print' macro immediately calls the default printer in EXCEL but it opens the Printer selection dialog window in WORD. How can one stop the PRINT button from selecting the default printer? Surely, it can open the Printer selection window? |
#4
|
|||
|
|||
HELP: print macro woes :S
Are you using file, print when you record the macro.
Make sure your printer is set correctly during use of file, print. --- HTH, David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001] My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm Search Page: http://www.mvps.org/dmcritchie/excel/search.htm "KevinGPO" wrote in message ... Yep. Tried that thanks. Nothing gets recorded in the macro. It could be something me doing not right. :S "tfoster" wrote in message ... Hey Kevin! I know it is a week later, but have you thought of selecting File-Print through a macro that you create? This will surely take care of your problem... "KevinGPO" wrote: I find that the 'print' macro immediately calls the default printer in EXCEL but it opens the Printer selection dialog window in WORD. How can one stop the PRINT button from selecting the default printer? Surely, it can open the Printer selection window? |
#5
|
|||
|
|||
HELP: print macro woes :S
Yes I am. Am not wanting the worksheet to be printed. I just want the
command to display the Print Options/Dialog window. "David McRitchie" wrote in message ... Are you using file, print when you record the macro. Make sure your printer is set correctly during use of file, print. --- HTH, David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001] My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm Search Page: http://www.mvps.org/dmcritchie/excel/search.htm "KevinGPO" wrote in message ... Yep. Tried that thanks. Nothing gets recorded in the macro. It could be something me doing not right. :S "tfoster" wrote in message ... Hey Kevin! I know it is a week later, but have you thought of selecting File-Print through a macro that you create? This will surely take care of your problem... "KevinGPO" wrote: I find that the 'print' macro immediately calls the default printer in EXCEL but it opens the Printer selection dialog window in WORD. How can one stop the PRINT button from selecting the default printer? Surely, it can open the Printer selection window? |
#6
|
|||
|
|||
HELP: print macro woes :S
Hi Kevin, KevinGPO Wrote: Yes I am. Am not wanting the worksheet to be printed. I just want the command to display the Print Options/Dialog window. I'm not sure if this exactly what you want but try: 1) application.dialogs(xlDialogPrint).show 'opens the "Print Options/Dialog window" 'found by searching "Built-In Dialog" in Excel's VB help. or 2) expression.PrintOut(From, To, Copies, Preview, ActivePrinter, PrintToFile, Collate, PrToFileName) 'found by searching "print" in Excel's VB help. I think 1) is what you are after. hth, Rob Brockett NZ Always learning & the best way to learn is to experience... -- broro183 ------------------------------------------------------------------------ broro183's Profile: http://www.excelforum.com/member.php...o&userid=30068 View this thread: http://www.excelforum.com/showthread...hreadid=498305 |
#7
|
|||
|
|||
HELP: print macro woes :S
Hi Kevin,
Application.Dialogs(xlDialogPrint) http://archive.baarns.com/excel/faq/xd_dbox1.asp changing parameters: http://groups.google.com/group/micro...3e98aaa5d7b904 for examples and setting parameters use a Google search: print dialog box sub excel actually now you can improve that with xldialogprint sub excel parameters --- HTH, David McRitchie, Microsoft MVP - Excel My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm "KevinGPO" wrote ... Yes I am. Am not wanting the worksheet to be printed. I just want the command to display the Print Options/Dialog window. |
#8
|
|||
|
|||
HELP: print macro woes :S
should read
application.dialogs(xldialogprint).show "David McRitchie" wrote: Hi Kevin, Application.Dialogs(xlDialogPrint) http://archive.baarns.com/excel/faq/xd_dbox1.asp changing parameters: http://groups.google.com/group/micro...3e98aaa5d7b904 for examples and setting parameters use a Google search: print dialog box sub excel actually now you can improve that with xldialogprint sub excel parameters --- HTH, David McRitchie, Microsoft MVP - Excel My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm "KevinGPO" wrote ... Yes I am. Am not wanting the worksheet to be printed. I just want the command to display the Print Options/Dialog window. |
#9
|
|||
|
|||
HELP: print macro woes :S
Thanks for the correction, don't know why I dropped the last part
"JNW" wrote ... should read application.dialogs(xldialogprint).show |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Print Macro Definition | Bean123r | General Discussion | 0 | October 12th, 2005 04:12 PM |
Access Mail Merge to Word.doc files ? | RNUSZ@OKDPS | Setting Up & Running Reports | 1 | May 18th, 2005 06:31 PM |
Macro (Print) - Calling Named Ranges | KGlennC | General Discussion | 1 | March 19th, 2005 09:20 PM |
Macro to Print Envelopes | Al Franz | New Users | 1 | August 4th, 2004 03:44 AM |
Need macro to print sheet with multiple repetitions | bill_s1416 | General Discussion | 3 | July 23rd, 2004 08:55 PM |