VB code to open Print window

  • Thread starter Thread starter OscarC
  • Start date Start date
O

OscarC

Hello,

Just a quick one. Does anyone know what the VB code is to open the
Print box (ie when you click File>Print)

thanks,

Michael
 
Application.Dialogs(xlDialogPrint).Show

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
OscarC said:
Hello,

Just a quick one. Does anyone know what the VB code is to open the
Print box (ie when you click File>Print)

thanks,

Michael

Hi Michael

Sub prinit ()

ActiveWindow.SelectedSheets.PrintPreview

End Sub

n10
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top