I used the recording feature to create a macro to print a graph.It does not bring up the dialog box to select a printer.It prints to the windows default printer.How do you make it display a dialog box?
Application.Dialogs(xlDialogPrint).Showorresult = Application.Dialogs(xlDialogPrint).Showwhere 'result' contains true or false depending on whether the cancelbutton/window was closed with the top-right 'X' or not.
I think what you're looking for is:dlgAnswer = Application.Dialogs(xlDialogPrint).Show