+ Reply to Thread
Results 1 to 4 of 4

In VBA, how to open the standard print dialog box?

  1. #1
    Registered User
    Join Date
    12-05-2006
    Location
    Philadelphia PA
    MS-Off Ver
    Office 365
    Posts
    81

    In VBA, how to open the standard print dialog box?

    I'm sure I have seen the line or two of vba code that opens the standard Office/Excel print dialog box, through which a user can select the printer, number of copies, pages to print, etc, and then start the print run. But so far I can't find the code to do it. Seems like it should be fairly simple. Can anyone show that line (or lines), or point me to the place where I can study up on it and see some sample code. I haven't had any luck with VBA help or the msn forums.

    Thanks in advance.

  2. #2
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,397

    Re: In VBA, how to open the standard print dialog box?

    .
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    12-05-2006
    Location
    Philadelphia PA
    MS-Off Ver
    Office 365
    Posts
    81

    Re: In VBA, how to open the standard print dialog box?

    Thanks Logit (I may have already replied). This is just what I was looking for. I works fine in my app, and is instructive regarding other dialogs.

  4. #4
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,397

    Re: In VBA, how to open the standard print dialog box?

    Glad it helped.

    Here's something else for you.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Application.Dialog to open PDF Export Dialog
    By thisismyfinaltry in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-25-2016, 10:11 AM
  2. [SOLVED] Open dialog with all files listed, then the selected file to open
    By Tiger20 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-16-2015, 01:20 AM
  3. VBA to set print range, open box asking for print qty, print, then redefine print area
    By galvinpaddy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-11-2012, 06:43 PM
  4. How to get the open file dialog to open to a certain folder
    By tenk283 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-01-2010, 11:54 PM
  5. Open Print Dialog Box
    By kmlloyd in forum Excel General
    Replies: 2
    Last Post: 02-23-2010, 12:43 PM
  6. [SOLVED] open print dialog (File ---> Print...)
    By snaggy^^ in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-21-2006, 02:30 PM
  7. printing multiple print areas with a print dialog box
    By LHaro in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-17-2005, 05:05 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1