A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

HELP: print macro woes :S



 
 
Thread Tools Display Modes
  #1  
Old January 5th, 2006, 03:36 PM posted to microsoft.public.excel.misc,microsoft.public.excel.newusers,microsoft.public.excel.printing,microsoft.public.excel.programming
external usenet poster
 
Posts: n/a
Default 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  
Old January 12th, 2006, 09:47 PM posted to microsoft.public.excel.misc,microsoft.public.excel.printing,microsoft.public.excel.programming,microsoft.public.excel.newusers
external usenet poster
 
Posts: n/a
Default 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  
Old January 13th, 2006, 09:21 AM posted to microsoft.public.excel.misc,microsoft.public.excel.printing,microsoft.public.excel.programming,microsoft.public.excel.newusers
external usenet poster
 
Posts: n/a
Default 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  
Old January 13th, 2006, 02:57 PM posted to microsoft.public.excel.misc,microsoft.public.excel.printing,microsoft.public.excel.programming,microsoft.public.excel.newusers
external usenet poster
 
Posts: n/a
Default 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  
Old January 16th, 2006, 09:13 AM posted to microsoft.public.excel.misc,microsoft.public.excel.printing,microsoft.public.excel.programming,microsoft.public.excel.newusers
external usenet poster
 
Posts: n/a
Default 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  
Old January 16th, 2006, 09:57 AM posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: n/a
Default 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  
Old January 16th, 2006, 04:16 PM posted to microsoft.public.excel.misc,microsoft.public.excel.printing,microsoft.public.excel.programming,microsoft.public.excel.newusers
external usenet poster
 
Posts: n/a
Default 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  
Old March 15th, 2006, 10:49 PM posted to microsoft.public.excel.misc,microsoft.public.excel.printing,microsoft.public.excel.programming,microsoft.public.excel.newusers
external usenet poster
 
Posts: n/a
Default 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  
Old March 15th, 2006, 11:11 PM posted to microsoft.public.excel.misc,microsoft.public.excel.printing,microsoft.public.excel.programming,microsoft.public.excel.newusers
external usenet poster
 
Posts: n/a
Default 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

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

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


All times are GMT +1. The time now is 07:12 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.