ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Open Menu item "Print" from VBA (https://www.excelbanter.com/excel-programming/280947-open-menu-item-print-vba.html)

Bill Agee

Open Menu item "Print" from VBA
 
On a worksheet, I can choose from the Menu: File, Print and then a form
displaying the Printer names in a combo box, etc. Since I have multiple
printers including Acrobat printer this is great.

I would like to be able to perform the same thing with VBA. Is there a
command
to display the form "Print" from VBA.

Bill



Ron de Bruin

Open Menu item "Print" from VBA
 
Use this

Application.Dialogs(xlDialogPrint).Show


--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2002 SP-2)
www.rondebruin.nl



"Bill Agee" wrote in message ink.net...
On a worksheet, I can choose from the Menu: File, Print and then a form
displaying the Printer names in a combo box, etc. Since I have multiple
printers including Acrobat printer this is great.

I would like to be able to perform the same thing with VBA. Is there a
command
to display the form "Print" from VBA.

Bill






All times are GMT +1. The time now is 05:19 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com