Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Help with writing a macro to select & ID a printer.

Hello Tech Support,

I am writing a macro in excel 2003:

1. What command my macro that will allow the print icon to come up without
out having to use activesheet.printview? Currently the printview will be
displayed. Then I have to select the print button before I can select the
name of the printer I want.
2. Currently I have to ask the user to enter in a cell in excel an A for
Adobe PDF print format or P for a local printer so that my macro will use the
correct setup for the printview. I want to know is there macro code that
will identify the default printer or the type of printer you selected in the
print icon without having to enter the name of the printer in a cell.

Thank you for your help.

Rene

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Help with writing a macro to select & ID a printer.


This line brings up the printer selection dialogue
Code:
--------------------
Application.Dialogs(xlDialogPrint).Show
--------------------
, your print should be outputted according to the printer selected!Rene'48;199747 Wrote:
Hello Tech Support,

I am writing a macro in excel 2003:

1. What command my macro that will allow the print icon to come up
without
out having to use activesheet.printview? Currently the printview will
be
displayed. Then I have to select the print button before I can select
the
name of the printer I want.
2. Currently I have to ask the user to enter in a cell in excel an A
for
Adobe PDF print format or P for a local printer so that my macro will
use the
correct setup for the printview. I want to know is there macro code
that
will identify the default printer or the type of printer you selected
in the
print icon without having to enter the name of the printer in a cell.

Thank you for your help.

Rene



--
The Code Cage Team

Regards,
The Code Cage Team
'The Code Cage' (http://www.thecodecage.com)
------------------------------------------------------------------------
The Code Cage Team's Profile: http://www.thecodecage.com/forumz/member.php?userid=2
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=54989

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
select printer macro jatman Excel Worksheet Functions 1 March 15th 08 01:58 PM
User select printer in print macro sarah_tennessee Excel Programming 0 April 7th 06 07:56 PM
User select printer in print macro rocket0612[_11_] Excel Programming 5 April 7th 06 07:49 AM
create a pause in print macro to allow user to select printer Scott53 Excel Programming 1 September 7th 05 04:29 PM
How do I initiate the windows printer select object in Excel macro Mick B[_2_] Excel Programming 1 January 13th 05 09:46 PM


All times are GMT +1. The time now is 11:44 PM.

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"